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

    bright-gpu-74537

    06/03/2020, 10:13 PM
    though im not sure if visible exists on all backends... just ones that have it
  • b

    bright-gpu-74537

    06/03/2020, 10:14 PM
    i usually feel like "hidden" is more "correct" anyway, but maybe thats just me
  • u

    user

    06/03/2020, 10:16 PM
    hummm. I tried with hidden w/o success...
  • u

    user

    06/03/2020, 10:16 PM
    perhaps I missed something
  • b

    bright-gpu-74537

    06/03/2020, 10:18 PM
    bug maybe?
  • u

    user

    06/03/2020, 10:19 PM
    I am a bug magnet so perhaps
  • b

    bright-gpu-74537

    06/03/2020, 10:19 PM
    😄
  • u

    user

    06/03/2020, 10:19 PM
    but sometimes, I'm the bug myself 🙂
  • u

    user

    06/03/2020, 10:22 PM
    ah ah
  • b

    bright-gpu-74537

    06/03/2020, 10:22 PM
    this works for me:
  • u

    user

    06/03/2020, 10:22 PM
    I forgot to remove the height=100%
  • b

    bright-gpu-74537

    06/03/2020, 10:22 PM
    Copy code
    xml
        <button id="button1" text="Button 1" />
        <button id="button2" text="Button 2" hidden="true" />
        <button text="Toggle Visibility" onclick="button1.hidden = !button1.hidden; button2.hidden = !button2.hidden" />
  • u

    user

    06/03/2020, 10:22 PM
    so everything was hidden
  • u

    user

    06/03/2020, 10:22 PM
    LOL
  • b

    bright-gpu-74537

    06/03/2020, 10:23 PM
    🙂
  • u

    user

    06/03/2020, 10:25 PM
    no more issue
  • c

    clever-oil-61353

    06/03/2020, 10:25 PM
    Added to Hashlink...... fix for osx/linux on some sdl version wrt locale [UNIX] Don't crash on SIGPIPE (#382)
  • c

    clever-oil-61353

    06/03/2020, 10:25 PM
    about to update my hashlink
  • u

    user

    06/03/2020, 10:33 PM
    is there any focus related event ?
  • u

    user

    06/03/2020, 10:33 PM
    like when you "activate" a textfield and "desactive" a textfield
  • u

    user

    06/03/2020, 10:34 PM
    to check value when typing is done and not at each char
  • b

    bright-gpu-74537

    06/03/2020, 10:37 PM
    there is really ugly "support" in haxeui-core but im pretty sure its not exposed to native backends... in fact, even in composite backends it needs to be rethought
  • u

    user

    06/03/2020, 10:40 PM
    ok, no problem
  • u

    user

    06/03/2020, 10:41 PM
    I handle the "activate" with the click event
  • u

    user

    06/03/2020, 10:41 PM
    better than nothing
  • b

    bright-gpu-74537

    06/03/2020, 10:43 PM
    focus needs to be improved (rewritten) entirely to be honest, the code that is there was placeholder code from when i first started... so years of neglect :/
  • u

    user

    06/03/2020, 10:55 PM
    how do you define style in code?
  • u

    user

    06/03/2020, 10:55 PM
    like verticalAlign ?
  • b

    bright-gpu-74537

    06/03/2020, 10:59 PM
    .verticalAlign
    or
    .customStyle.verticalAlign
  • b

    bright-gpu-74537

    06/03/2020, 10:59 PM
    (.customStyle is going to change at some point)
1...259260261...1687Latest