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

    bright-gpu-74537

    02/21/2023, 11:07 AM
    oh, man, im such a dumbass... i put
    style = 0;
    in hx.widgets.TextCtrl to test something
  • b

    bright-gpu-74537

    02/21/2023, 11:07 AM
    ... ffs... 🤦‍♂️
  • b

    bright-gpu-74537

    02/21/2023, 11:11 AM
    ... alright, fixed
  • f

    full-journalist-82607

    02/21/2023, 11:12 AM
    lol, I like to read these kind of things, it makes me feel less alone when I do dumb things ( everyday)
  • b

    bright-gpu-74537

    02/21/2023, 11:12 AM
    haha, yeah
  • b

    bright-gpu-74537

    02/21/2023, 11:41 AM
    @bumpy-engineer-49082 - ok, better fix (for now), set no batching in your haxeui app:
  • b

    bright-gpu-74537

    02/21/2023, 11:41 AM
    Copy code
    haxe
            var app = new HaxeUIApp({
                noBatch: true
            });
  • b

    bright-gpu-74537

    02/21/2023, 11:41 AM
    (then you can have this line back:
    WindowManager.instance.container = windowContainer;
    )
  • b

    bumpy-engineer-49082

    02/21/2023, 11:51 AM
    It's already true.
  • b

    bumpy-engineer-49082

    02/21/2023, 11:51 AM
    You've told me to do it yesterday.
  • b

    bright-gpu-74537

    02/21/2023, 11:52 AM
    yeah, but in the haxeuiapp, not toolkit.init
  • b

    bumpy-engineer-49082

    02/21/2023, 11:55 AM
    Yeah, it now works as supposed.
  • b

    bumpy-engineer-49082

    02/21/2023, 11:56 AM
    What did this flag do?
  • b

    bumpy-engineer-49082

    02/21/2023, 11:56 AM
    I guess it's temporary.
  • b

    bright-gpu-74537

    02/21/2023, 11:56 AM
    cool - not quite sure why the windowmanager is breaking the batching... but... ill check it out
  • b

    bright-gpu-74537

    02/21/2023, 11:57 AM
    so, by default haxeui-kha tries to group draw commands (and text and image commands) in order to minimize the number of draw calls... but for some (strange) reason the window manager screws that up... not 100% sure why, and not having batching isnt such an issue on desktop... but id still like to understand what is going on though
  • b

    bright-gpu-74537

    02/21/2023, 12:07 PM
    actually, ive just realised, it makes perfect sense... the windows are overlapped, which means grouping their calls doesnt make sense... the reasons its fine without
    WindowManager.instance.container = windowContainer;
    is because then the windows become root components, which means they effectively have their own batch list
  • b

    bumpy-engineer-49082

    02/21/2023, 12:07 PM
    How do I use justify-content or content-align?
  • b

    bright-gpu-74537

    02/21/2023, 12:07 PM
    those arent haxeui css properties
  • b

    bright-gpu-74537

    02/21/2023, 12:07 PM
    haxeui css != w3c css
  • b

    bumpy-engineer-49082

    02/21/2023, 12:09 PM
    Where can I check that?
  • b

    bright-gpu-74537

    02/21/2023, 12:09 PM
    check what?
  • b

    bumpy-engineer-49082

    02/21/2023, 12:12 PM
    Available properties.
  • b

    bright-gpu-74537

    02/21/2023, 12:13 PM
    there is something in the pins from yoplala
  • b

    bright-gpu-74537

    02/21/2023, 12:13 PM
    > @echoing-painter-73366 Here are my (unfinished) notes for styling https://gist.github.com/Shallowmallow/0b3f1974eda3a94ccc9ea1d1939a2d98
  • b

    bright-gpu-74537

    02/21/2023, 12:13 PM
    (didnt mean to ping Novice - sorry 🙂 )
  • b

    bumpy-engineer-49082

    02/21/2023, 12:14 PM
    Thank you.
  • e

    early-butcher-76809

    02/21/2023, 12:44 PM
    Well, you load bytes and do magic with those on your own. Loading bytes with Heaps works too (I've tried a bit) but adding an animations folder in the module.xml works too, so I went that way :P Thank you ! <3
  • b

    bright-gpu-74537

    02/21/2023, 12:55 PM
    how are you "playing" the animations? Is it just a static set of images or something?
  • e

    early-butcher-76809

    02/21/2023, 12:56 PM
    It's gif playing its animations, if that's what you ask
1...153215331534...1687Latest