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

    big-angle-82801

    07/19/2022, 8:11 PM
    if i remove it again it works fine
  • b

    bright-gpu-74537

    07/19/2022, 8:12 PM
    ok, nice - bit of a gotcha...
  • b

    big-angle-82801

    07/19/2022, 8:12 PM
    so it's all fine 😅
  • b

    bright-gpu-74537

    07/19/2022, 8:12 PM
    i guess maybe, to make sure lib order is defined, you shouldnt really include haxeui-core directly and let the backend extraParams.hxml do that
  • b

    big-angle-82801

    07/19/2022, 8:13 PM
    haxelib should handle that i think,
    -lib
    params shouldn't go in extraParams.hxml 👀
  • b

    big-angle-82801

    07/19/2022, 8:13 PM
    bc it's a bit unpredictable whether they'll get parsed or not
  • b

    bright-gpu-74537

    07/19/2022, 8:14 PM
    is it?
  • b

    big-angle-82801

    07/19/2022, 8:14 PM
    yes, dependencies should go in
    haxelib.json
  • b

    big-angle-82801

    07/19/2022, 8:14 PM
    haxeui-hxwidgets is all good though
  • b

    bright-gpu-74537

    07/19/2022, 8:14 PM
    oh, ok, nice - didnt know that
  • b

    big-angle-82801

    07/19/2022, 8:15 PM
    i think
    -lib
    only gets parsed in the extraParams file if there is another
    -cp
    flag after the library flag or something crazy like that
  • b

    big-angle-82801

    07/19/2022, 8:15 PM
    https://github.com/HaxeFoundation/haxe/issues/4059
  • b

    bright-gpu-74537

    07/19/2022, 8:16 PM
    ill have to make sure the other backends are also - so you think i should also remove and -lib from extraParams.hxml (if they are there)?
  • b

    big-angle-82801

    07/19/2022, 8:16 PM
    yes, if the dependencies are declared in
    haxelib.json
    then haxelib takes care of the rest for you
  • b

    bright-gpu-74537

    07/19/2022, 8:17 PM
    gotcha... ill whack it on "the list" - thanks for the clarification 👍
  • b

    big-angle-82801

    07/19/2022, 8:17 PM
    No problem, glad i could share my haxelib knowledge 😄
  • b

    big-angle-82801

    07/19/2022, 8:17 PM
    Thanks again for all the help!
  • b

    bright-gpu-74537

    07/19/2022, 8:18 PM
    np - and thanks! Its a gotcha, but hopefully if it comes up again, ill know what to ask someone to test
  • b

    big-angle-82801

    07/19/2022, 8:18 PM
    I guess it would also be good to update all the templates and help resources to not include the
    -lib haxeui-core
    at some point as well
  • b

    bright-gpu-74537

    07/19/2022, 8:19 PM
    yeah, makes sense
  • b

    big-angle-82801

    07/19/2022, 8:21 PM
    although, one more issue for the evening: when I increase the font size of the label, this happens 👀:
  • b

    big-angle-82801

    07/19/2022, 8:22 PM
    just on haxeui-hxwidgets
  • b

    big-angle-82801

    07/19/2022, 8:22 PM
    html5 works fine
  • b

    bright-gpu-74537

    07/19/2022, 8:23 PM
    hmmmm, and button works fine
  • b

    big-angle-82801

    07/19/2022, 8:24 PM
    yes, and without the button it looks like this:
  • b

    big-angle-82801

    07/19/2022, 8:24 PM
    i assume the small white line is meant to be the label
  • b

    bright-gpu-74537

    07/19/2022, 8:25 PM
    what if you give the label an explicit width / height - maybe the autosizing has gone all strange
  • b

    big-angle-82801

    07/19/2022, 8:27 PM
    yep, that fixes it
  • b

    bright-gpu-74537

    07/19/2022, 8:28 PM
    interesting... thats gonna be a pain to debug - guess ill have to see if i can get a manjaro vm going
  • b

    bright-gpu-74537

    07/19/2022, 8:28 PM
    actually, lemme see if thats an issue here too
1...117611771178...1687Latest