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

    bright-gpu-74537

    08/03/2022, 8:21 AM
    ill have to see about openfl and code over lunch
  • b

    bright-gpu-74537

    08/03/2022, 8:22 AM
    are you up-to-date with all haxeui repos? Just to make sure its not some old bug or something
  • b

    best-agent-85158

    08/03/2022, 8:33 AM
    yep i updated yesterday
  • b

    best-agent-85158

    08/03/2022, 8:33 AM
    wait was it on this pc?
  • b

    best-agent-85158

    08/03/2022, 8:33 AM
    let me update rq
  • b

    best-agent-85158

    08/03/2022, 8:35 AM
    thing is, one item in the dropdown is longer then the dropdown...
  • b

    bright-gpu-74537

    08/03/2022, 8:35 AM
    interesting... lemme try that
  • b

    bright-gpu-74537

    08/03/2022, 8:36 AM
    i would expect it to wrap
  • b

    bright-gpu-74537

    08/03/2022, 8:36 AM
    yeah
  • b

    bright-gpu-74537

    08/03/2022, 8:37 AM
    but again, this is xml + html5
  • b

    best-agent-85158

    08/03/2022, 8:37 AM
    when you set the width it just behaves weirdly (the text resizes weirdly and has artifacts)
  • b

    bright-gpu-74537

    08/03/2022, 8:37 AM
    ill try openfl later, but i would expect the same behaviour
  • b

    bright-gpu-74537

    08/03/2022, 8:37 AM
    i think this is openfl filters, they are screwey, especially with openfl scrollRects
  • b

    bright-gpu-74537

    08/03/2022, 8:37 AM
    you can use
    haxeui_no_filters
    and that should fix that, but i dont think thats anything to do with the validation loop
  • b

    best-agent-85158

    08/03/2022, 8:39 AM
    the only thing that i think happens is that the dropdown attempts to make itself wider (because of a child wider then the dropdown) and just ant because the width is capped at 100%
  • b

    best-agent-85158

    08/03/2022, 8:39 AM
    because when he width isnt set to 100%, the parent expands
  • b

    bright-gpu-74537

    08/03/2022, 8:40 AM
    if the width is 100% the dropdown wont attempt to make itself larger
  • b

    bright-gpu-74537

    08/03/2022, 8:40 AM
    hmmm, yeah, something is off there, they should be the same size as the hbox above
  • b

    best-agent-85158

    08/03/2022, 8:42 AM
    when the
    width
    is set to a number instead of setting
    percentWidth
    things work
  • b

    bright-gpu-74537

    08/03/2022, 8:43 AM
    openfl (with xml) works fine... ill try code
  • b

    bright-gpu-74537

    08/03/2022, 8:43 AM
    btw, this is defo something you could have setup a minimal test case for 😉
  • b

    best-agent-85158

    08/03/2022, 8:43 AM
    youre right
  • b

    best-agent-85158

    08/03/2022, 8:44 AM
    but im still trying to figure out if i did something wrong or nah
  • b

    bright-gpu-74537

    08/03/2022, 8:44 AM
    minimal test case would have been able to help with that too 🙂
  • b

    bright-gpu-74537

    08/03/2022, 8:48 AM
    ok, so i did this, in haxeui-openfl: https://pastebin.com/TEq3zUXG
  • b

    bright-gpu-74537

    08/03/2022, 8:49 AM
    you on latest haxeui-core / haxeui-openfl?
  • b

    best-agent-85158

    08/03/2022, 8:49 AM
    can you add items before&after the long one?
  • b

    best-agent-85158

    08/03/2022, 8:49 AM
    dropDown.dataSource.add({text: "Rubik"}); dropDown.dataSource.add({text: "Arial"}); dropDown.dataSource.add({text: "Times New Roman"}); dropDown.dataSource.add({text: "Courier New"});
  • b

    best-agent-85158

    08/03/2022, 8:49 AM
    sorry if im annoying its just that you already have everything set up yada yada
  • b

    best-agent-85158

    08/03/2022, 8:50 AM
    really hope to not do this ever again lol
1...119411951196...1687Latest