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

    early-butcher-76809

    04/25/2023, 5:31 PM
    :O
  • b

    bright-gpu-74537

    04/25/2023, 5:31 PM
    spacer is just another name for component... its just semantically nicer 🙂
  • e

    early-butcher-76809

    04/25/2023, 5:33 PM
    Alright, now, trickier, what if I want several components to overlap ? Would it be possible ?
  • b

    bright-gpu-74537

    04/25/2023, 5:33 PM
    and still maintain that type of thing?
  • e

    early-butcher-76809

    04/25/2023, 5:33 PM
    Yep
  • e

    early-butcher-76809

    04/25/2023, 5:34 PM
    I would just have to use several hbox inside the box, right ?
  • b

    bright-gpu-74537

    04/25/2023, 5:34 PM
    thats what i was thinking, yeah
  • b

    bright-gpu-74537

    04/25/2023, 5:35 PM
    http://haxeui.org/builder/?8ac518f6
  • e

    early-butcher-76809

    04/25/2023, 5:36 PM
    Well, great ! Thanks, love you ! <3
  • b

    bright-gpu-74537

    04/25/2023, 5:36 PM
    at some point it will (imo) get ugly... so maybe a custom layout, or maybe a new layout inside haxeui that could do this nicely (like an anchor layout is something ive thought about adding a few times)
  • e

    early-butcher-76809

    04/25/2023, 5:37 PM
    Yeah, it may get a bit complicated for someone who takes over and didn't do it themselves but that's a problem for future me :P
  • e

    early-butcher-76809

    04/25/2023, 5:37 PM
    It will probably stay for me eyes only anyway :P
  • b

    bright-gpu-74537

    04/25/2023, 5:39 PM
    cool - ill have a think anyway, as i feel like an anchor layout might be nice here, ie, you do the main hbox thing and you make all other components relative to that
  • b

    bright-gpu-74537

    04/25/2023, 5:41 PM
    its probably nicer than screwing around with absolute... although... i do see the value in having a left / top % here... could defo make things neater
  • b

    bright-gpu-74537

    04/25/2023, 5:42 PM
    as well as right / bottom (and % versions)
  • f

    future-iron-61487

    04/27/2023, 3:04 AM
    Debating whether I should try to hammer a prototype of something out real quick
  • f

    future-iron-61487

    04/27/2023, 3:04 AM
    I forget, does haxeui have keyboard navigation yet?
  • f

    future-iron-61487

    04/27/2023, 3:04 AM
    aka if arrow keys/gamepad is used, do widgets have like, an
    exit_left
    ,
    exit_right
    kinda prop or
  • b

    bright-gpu-74537

    04/27/2023, 5:37 AM
    it does, via tabs, but there is also "space" for like dpad / remote / whatever navigation, altough, this is verrrrry much in its infancy
  • b

    bright-gpu-74537

    04/27/2023, 5:38 AM
    what does that do? Tell the framework which is next when you press, left / right?
  • f

    future-iron-61487

    04/27/2023, 7:52 AM
    Something like that, if you need to customize (ie, not everything is on a grid)
  • f

    future-iron-61487

    04/27/2023, 7:53 AM
    I don't have a full picture of how this would work in my head unfortunately
  • b

    bright-gpu-74537

    04/27/2023, 10:12 AM
    at the moment, the sort of working impl for "dpad" navigation sends out "rays" (by which i mean just in increments a point up / down an axis) looking for interactives
  • b

    bright-gpu-74537

    04/27/2023, 10:12 AM
    but i also like the "exit" approach for fine tuning too
  • b

    bright-gpu-74537

    04/27/2023, 10:19 AM
    .... weirdly, i cant find that code now... :/ i wonder if it was stashed or something... i 100% did write it
  • f

    future-iron-61487

    04/28/2023, 6:34 AM
    I remember you talking about it like a year ago
  • b

    bright-gpu-74537

    04/28/2023, 6:36 AM
    yeah, i cant find the impl... so i must have lost it, its fine i guess, its not hard to reimplement, just odd
  • b

    bright-gpu-74537

    04/28/2023, 8:40 AM
    this should be fixed now in latest haxeui-core: http://haxeui.org/builder/?4191dba8
  • p

    purple-businessperson-14467

    04/28/2023, 4:35 PM
    I had some new null crashes in ImageLoader.hx. This is probably because I have some references to images that dont exist (I use svg for images in html5 and png for Heaps backend)? Anyways, I fixed it by changing line 51 from if (callback != null) to if (callback != null && imageInfo != null) But I am not sure that it is PR material as there may need more thought put into it?
  • b

    bright-gpu-74537

    04/28/2023, 4:37 PM
    whoops, nice catch, i introduced this recently... fixed in core now
1...165316541655...1687Latest