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

    full-journalist-82607

    01/24/2023, 8:01 AM
    But it doesn't seem to work ... @purple-businessperson-14467
  • f

    full-journalist-82607

    01/24/2023, 8:04 AM
    I would still try to play with minWidth. And if if doesn't work. Maybe in the next frame, adapt the sze ???
  • p

    purple-businessperson-14467

    01/24/2023, 8:11 AM
    heading to bed. ill play in morning
  • b

    bright-gpu-74537

    01/24/2023, 9:05 AM
    yeah, 100% would be solution here, but yeah, you would need to know which is the longest and not 100% that... im not sure there is a better way, i mean, im open to suggests / additions for something like this but not sure how you would convey that want "all the buttons to be as long as a longest button"
  • b

    bright-gpu-74537

    01/24/2023, 9:05 AM
    missing dlls?
  • c

    clever-yak-82528

    01/24/2023, 11:35 AM
    yeah, the copy didn't work properly and manually copying them didn't help
  • c

    clever-yak-82528

    01/24/2023, 11:35 AM
    it might have been wxwidgets dlls missing but i decided to give up and go back to msvc
  • b

    bright-gpu-74537

    01/24/2023, 12:30 PM
    what toolchain were you using before?
  • b

    bright-gpu-74537

    01/24/2023, 12:31 PM
    maybe statically link? I personally think static linking makes more sense anyway (in general)
  • c

    clever-yak-82528

    01/24/2023, 1:28 PM
    I was using msvc before
  • c

    clever-yak-82528

    01/24/2023, 1:28 PM
    I tried switching to mingw, which would make a Linux build easier
  • c

    clever-yak-82528

    01/24/2023, 1:28 PM
    That didn't work so I'm just gonna wing it with Linux and see what happens
  • b

    bright-gpu-74537

    01/24/2023, 2:01 PM
    dynamic linking on linux sounds like a world of pain
  • b

    bright-gpu-74537

    01/24/2023, 2:03 PM
    ... ... not the act / ability to dyn link, but the result, even on win, better hope all the dlls are good / right, etc... howcome you decided not to statically link (just curious really)
  • h

    hallowed-ocean-84954

    01/24/2023, 2:34 PM
    could a group help here ?
  • b

    bright-gpu-74537

    01/24/2023, 2:36 PM
    dont think so, they all abide by the same basic rules currently...
  • h

    hallowed-ocean-84954

    01/24/2023, 2:43 PM
    ok - just a thought - sounds like a new feature then - if such a thing were to be supported
  • b

    bright-gpu-74537

    01/24/2023, 4:29 PM
    yeah, one new type of layout i quite like the idea of is an "anchor" type layout (dont think it fixes the above problem though)
  • e

    elegant-twilight-61392

    01/24/2023, 5:30 PM
    why is there a file specific to haxeui-hxwidgets in the haxeui-skeleton test app?
  • e

    elegant-twilight-61392

    01/24/2023, 5:30 PM
  • b

    bright-gpu-74537

    01/24/2023, 5:47 PM
    mistake
  • b

    bright-gpu-74537

    01/24/2023, 5:48 PM
    poof... gone 🙂
  • r

    refined-cat-44047

    01/24/2023, 9:55 PM
    I want to change some colours of my UI dynamically at runtime. Is there a good way to do that. I see the guide for "themes" is empty right now, but that seems interesting. Is there a simple example of how it works? Basically, I have a stylesheet setup. Each section of my app has a different main colour. All buttons and background should change to use that colour. But I don't want to set up different styles for each section. It would be great if I could use a variable for the colours, or overwrite parts of the styles in a "theme" and switch themes, Not too sure what HaxeUI offers for me here
  • e

    elegant-twilight-61392

    01/24/2023, 9:56 PM
    pretty sure you can just change the style of elements like you would with eg. html
  • a

    ambitious-knife-25690

    01/24/2023, 9:57 PM
    you'd do this from a component class then
  • a

    ambitious-knife-25690

    01/24/2023, 9:57 PM
    modify the components style props in haxe code
  • a

    ambitious-knife-25690

    01/24/2023, 9:58 PM
    there's a theme switcher demo on the haxeui site as well
  • a

    ambitious-knife-25690

    01/24/2023, 9:59 PM
    essentially you'd just toggle Toolkit.theme = 'theme name'
  • a

    ambitious-knife-25690

    01/24/2023, 10:00 PM
    but you can do all of the above
  • a

    ambitious-knife-25690

    01/24/2023, 10:00 PM
    but I'm on mobile/work atm so can't provide an example
1...140114021403...1687Latest