https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • s

    salmon-knife-33932

    03/05/2023, 5:18 PM
    Cool ! I can do something, I used the technique that you advised me absolute layout/canvas on background for drawing stuff on left html5 / on right hl (heaps)
  • b

    bright-gpu-74537

    03/05/2023, 5:34 PM
    that was quick 💪
  • t

    tall-teacher-57409

    03/05/2023, 6:00 PM
    is the haxeui website open source? Because I want to build it so I can access when I have no internet connection
  • f

    few-pizza-8232

    03/05/2023, 6:30 PM
    The Component Explorer and Developer pages are: https://github.com/haxeui/component-explorer https://github.com/haxeui/haxeui-guides I think the API docs are autogenerated from haxeui-core, which you'd need locally anyway to build anything with HaxeUI.
  • a

    ambitious-knife-25690

    03/05/2023, 7:33 PM
    getting closer 😄
  • a

    ambitious-knife-25690

    03/05/2023, 7:49 PM
    @bright-gpu-74537 the header sort for rating seems a bit bugged
  • a

    ambitious-knife-25690

    03/05/2023, 7:49 PM
    the haxe one isn't sorted into the asc/desc order
  • b

    bright-gpu-74537

    03/05/2023, 7:53 PM
    yeah, looks like a alphanumeric sort bug... i did have a different sort in there at one point (a custom one) but i removed it for some reason, maybe it makes sense to put it back
  • a

    ambitious-knife-25690

    03/05/2023, 8:08 PM
    it is nice to have my click finally registered heh
  • b

    bright-gpu-74537

    03/05/2023, 8:12 PM
    nice... what was it?
  • a

    ambitious-knife-25690

    03/05/2023, 8:13 PM
    It was mouse events
  • a

    ambitious-knife-25690

    03/05/2023, 8:13 PM
    but it was a sneaky issue
  • a

    ambitious-knife-25690

    03/05/2023, 8:13 PM
    I had a timer tracking clicks from mouse down
  • a

    ambitious-knife-25690

    03/05/2023, 8:14 PM
    screenimpl would overwrite the value of the click for compimpl because i was sharing the function
  • a

    ambitious-knife-25690

    03/05/2023, 8:14 PM
    so it seemed like mouse events were fine
  • a

    ambitious-knife-25690

    03/05/2023, 8:15 PM
    switch still doesn't work tho 🤣
  • a

    ambitious-knife-25690

    03/05/2023, 8:16 PM
    but i can't interact with a tree yet either, so maybe the issue between the two is shared
  • b

    bright-gpu-74537

    03/05/2023, 8:16 PM
    progress is progress 🙂
  • a

    ambitious-knife-25690

    03/05/2023, 8:16 PM
    it is dangerously close to being usable imo
  • a

    ambitious-knife-25690

    03/05/2023, 8:17 PM
    menu border issue sorted, all list views work now
  • a

    ambitious-knife-25690

    03/05/2023, 8:17 PM
    just a couple of basic components that don't work
  • a

    ambitious-knife-25690

    03/05/2023, 8:18 PM
    but then you see this
  • a

    ambitious-knife-25690

    03/05/2023, 8:18 PM
    and you're like hmmmmmm 😄
  • b

    bright-gpu-74537

    03/05/2023, 8:19 PM
    defo feeling pretty close 🥳
  • t

    tall-teacher-57409

    03/05/2023, 9:37 PM
    how do I compile a haxeui-openfl project
  • t

    tall-teacher-57409

    03/05/2023, 9:38 PM
    I used the template
  • t

    tall-teacher-57409

    03/05/2023, 9:39 PM
    I think I need an hxml file, but not sure what to put there
  • a

    ambitious-knife-25690

    03/05/2023, 9:45 PM
    you use project.xml in openfl
  • a

    ambitious-knife-25690

    03/05/2023, 9:45 PM
    normal openfl setup
  • f

    few-pizza-8232

    03/05/2023, 10:40 PM
    I'm trying to build a custom "chart"-type component in HaxeUI-Kha, and I'd like to use Kha drawing functionality to render it, in part because I suspect I'll be needing 3d variants. I'm expecting to use these in a flexible-width vertical layout, and I'd like for them to only take up as much vertical space as necessary. To that end, I think the layout cases I'll need are: - some fixed aspect ratio between width/height (assigning height proportionally to width) - a fixed height for any width Where I'm stuck is how to tell HaxeUI "this component should be height Y in a container allowing width X". Is there some sort of thing I can assign in an
    Image
    component or override in a custom component to derive layout information like this? If not, when and where is a sensible time to apply a height based on an auto-calculated width? I'm a bit lost in the source code here. An example would be nice but I can make do with just knowing which properties or functions I ought to be using.
1...158015811582...1687Latest