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

    elegant-twilight-61392

    01/27/2023, 1:33 AM
    so in the editor you just see this
  • e

    elegant-twilight-61392

    01/27/2023, 1:34 AM
    if you run it, you can see each node
  • e

    elegant-twilight-61392

    01/27/2023, 1:34 AM
    and you can hide them there and see it change in game
  • a

    ambitious-knife-25690

    01/27/2023, 1:34 AM
    oh neat, so you get the best of both worlds
  • c

    clever-yak-82528

    01/27/2023, 1:39 AM
    @bright-gpu-74537 awesome, just updated and that fixed it! relatedly, how am i supposed to clear out a treeview? clearNodes() seems to always throw an exception
  • a

    ambitious-knife-25690

    01/27/2023, 1:59 AM
    okay clipping messes up the splitter, no idea why it's just one splitter as well
  • a

    ambitious-knife-25690

    01/27/2023, 2:17 AM
    probably the cleanest version i've got so far
  • a

    ambitious-knife-25690

    01/27/2023, 2:17 AM
    i'm gonna call it here and go sleep 😂
  • m

    melodic-advantage-23638

    01/27/2023, 2:42 AM
    I'm jealous, I'm still working on getting a simple quad up on the screen in the right place
  • m

    melodic-advantage-23638

    01/27/2023, 2:42 AM
    And I think I'm pretty far away from that still
  • e

    elegant-twilight-61392

    01/27/2023, 2:57 AM
    borders and opacity working
  • b

    bright-gpu-74537

    01/27/2023, 6:58 AM
    yikes, backends kicking off here yesterday... good stuff to wake up to!
  • b

    bright-gpu-74537

    01/27/2023, 6:58 AM
    i think once you get something onscreen though, all the other bits will just fall into place (ish)... also, we now have a resident "i write backends" experts 🥳
  • b

    bright-gpu-74537

    01/27/2023, 6:59 AM
    i would have thought clearNodes, yeah... maybe its not linked up... i thought pretty much everything in treeview was linked up... ill check it out
  • b

    bright-gpu-74537

    01/27/2023, 7:02 AM
    thats really nice... so what does the code / xml look like for this example? Can you name nodes in godot?
  • b

    bright-gpu-74537

    01/27/2023, 7:07 AM
    oh, its in the screen shot 😄
  • e

    elegant-twilight-61392

    01/27/2023, 7:07 AM
    the xml is just the skeleton test-app xml
  • e

    elegant-twilight-61392

    01/27/2023, 7:08 AM
    and then i modified it to test border stuff but its in that other screenshot
  • b

    bright-gpu-74537

    01/27/2023, 7:09 AM
    very cool stuff... theres actually quite alot goin on there from the xml, addComponent, % sizes, borders, opacity, etc... 👍
  • e

    elegant-twilight-61392

    01/27/2023, 7:11 AM
    are the borders supposed to be "inside" the thing they are a border of or should the line centered on the edge?
  • e

    elegant-twilight-61392

    01/27/2023, 7:11 AM
    if that makes any sense
  • b

    bright-gpu-74537

    01/27/2023, 7:12 AM
    technically, its up to you, but realistically, the borders go "inside"... as i said to NotBilly who had the same question: dimentions are "golden" in haxeui, so a box with a size of 100x50 with with a 10px border the component should still be 100x50 (ie, no overdraw)
  • e

    elegant-twilight-61392

    01/27/2023, 7:14 AM
    so not like this
  • b

    bright-gpu-74537

    01/27/2023, 7:14 AM
    ideally not, no...
  • e

    elegant-twilight-61392

    01/27/2023, 7:14 AM
    are the borders supposed to overlap eachother though?
  • b

    bright-gpu-74537

    01/27/2023, 7:15 AM
    haxeui doesnt enforce it (well, it couldnt) but certain controls will probably look strange that way
  • e

    elegant-twilight-61392

    01/27/2023, 7:15 AM
    just moving them based on the border size doesnt seem too hard but moving them based on each other would be more complex ofc
  • b

    bright-gpu-74537

    01/27/2023, 7:15 AM
    they arent supposed to overlap either... you can have compound borders in haxeui also (and a few components, like tabbar, use it)
  • b

    bright-gpu-74537

    01/27/2023, 7:18 AM
    eg: http://haxeui.org/builder/?d63ff124
  • b

    bright-gpu-74537

    01/27/2023, 7:22 AM
    so the sub nodes only show up in debug mode?
1...142714281429...1687Latest