https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • tried another clean build outside VSC, still exhibits same behaviour 🤦
    i

    icy-zebra-52882

    04/03/2023, 8:32 AM
    tried another clean build outside VSC, still exhibits same behaviour 🤦
  • I'm gonna reboot and try it in linux, see if it's some weird wxMSW thing
    i

    icy-zebra-52882

    04/03/2023, 8:34 AM
    I'm gonna reboot and try it in linux, see if it's some weird wxMSW thing
  • okay even weirder, I get the same behaviour but a *different* button is the one to change when going back to English, this time it's "Next page"
    i

    icy-zebra-52882

    04/03/2023, 8:41 AM
    okay even weirder, I get the same behaviour but a different button is the one to change when going back to English, this time it's "Next page"

    https://cdn.discordapp.com/attachments/565569107701923852/1092368184847368233/image.pngâ–¾

  • also just noticed, the error label at the bottom does change successfully too
    i

    icy-zebra-52882

    04/03/2023, 8:41 AM
    also just noticed, the error label at the bottom does change successfully too
  • and the menus themselves don't change no matter the locale, but menu items do
    i

    icy-zebra-52882

    04/03/2023, 8:42 AM
    and the menus themselves don't change no matter the locale, but menu items do
  • not sure, something seems very off... and all seems fine this end... are you sure the GH repo is 100% up to date to what you are testing?
    b

    bright-gpu-74537

    04/03/2023, 8:42 AM
    not sure, something seems very off... and all seems fine this end... are you sure the GH repo is 100% up to date to what you are testing?
  • I'll pull again in case I messed something up somewhere
    i

    icy-zebra-52882

    04/03/2023, 8:42 AM
    I'll pull again in case I messed something up somewhere
  • ... and now I get the reverse behaviour - when it starts in English, only the "Next page" and error labels change to german, and everything stops updating again
    i

    icy-zebra-52882

    04/03/2023, 8:47 AM
    ... and now I get the reverse behaviour - when it starts in English, only the "Next page" and error labels change to german, and everything stops updating again
  • have I got something wrong with the .properties files?
    i

    icy-zebra-52882

    04/03/2023, 8:47 AM
    have I got something wrong with the .properties files?
  • the confusing part is that i dont see the same behaviour this end at all
    b

    bright-gpu-74537

    04/03/2023, 8:48 AM
    the confusing part is that i dont see the same behaviour this end at all
  • can you try setting initial locale to de-DE on line 32 of App.hx, then change to English?
    i

    icy-zebra-52882

    04/03/2023, 8:49 AM
    can you try setting initial locale to de-DE on line 32 of App.hx, then change to English?
  • if I comment out `LocaleManager.instance.refreshAll();` on line 322 in `switchLocale()`, the program keeps working as expected
    i

    icy-zebra-52882

    04/03/2023, 8:53 AM
    if I comment out
    LocaleManager.instance.refreshAll();
    on line 322 in
    switchLocale()
    , the program keeps working as expected
  • obviously the strings don't update to their new language, but that's expected
    i

    icy-zebra-52882

    04/03/2023, 8:53 AM
    obviously the strings don't update to their new language, but that's expected
  • i dont think you should need to call that anyway, that should be happening as part of the internal locale switch
    b

    bright-gpu-74537

    04/03/2023, 8:54 AM
    i dont think you should need to call that anyway, that should be happening as part of the internal locale switch
  • ill check in a bit, need to walk el puppos
    b

    bright-gpu-74537

    04/03/2023, 8:54 AM
    ill check in a bit, need to walk el puppos
  • ah okay the refresh does get called when you change `LocaleManager.instance.language`, I had that commented out too
    i

    icy-zebra-52882

    04/03/2023, 8:56 AM
    ah okay the refresh does get called when you change
    LocaleManager.instance.language
    , I had that commented out too
  • only added the refresh because at one point it worked where it didn't without
    i

    icy-zebra-52882

    04/03/2023, 8:56 AM
    only added the refresh because at one point it worked where it didn't without
  • ok, so you are also working with a modified version of haxeui?
    b

    bright-gpu-74537

    04/03/2023, 8:58 AM
    ok, so you are also working with a modified version of haxeui?
  • nope, git version
    i

    icy-zebra-52882

    04/03/2023, 8:58 AM
    nope, git version
  • all up to date etc.
    i

    icy-zebra-52882

    04/03/2023, 8:58 AM
    all up to date etc.
  • b

    bright-gpu-74537

    04/03/2023, 1:34 PM
    https://cdn.discordapp.com/attachments/565569107701923852/1092442048172408842/timesheet.mp4
  • oo, how are you doing the cell area? custom table component with drag?
    a

    ambitious-knife-25690

    04/03/2023, 1:45 PM
    oo, how are you doing the cell area? custom table component with drag?
  • its 3 linked scrollviews essentially
    b

    bright-gpu-74537

    04/03/2023, 1:46 PM
    its 3 linked scrollviews essentially
  • the fixed columns on the left are one scrollview, the header rows are another, then all the cells... and they are all linked so when you change one, the others change - so the _seem_ like one scrollview
    b

    bright-gpu-74537

    04/03/2023, 1:47 PM
    the fixed columns on the left are one scrollview, the header rows are another, then all the cells... and they are all linked so when you change one, the others change - so the seem like one scrollview
  • sometimes clients have crap feed back, other times they are spot on:
    b

    bright-gpu-74537

    04/03/2023, 4:28 PM
    sometimes clients have crap feed back, other times they are spot on:
  • b

    bright-gpu-74537

    04/03/2023, 4:28 PM

    https://cdn.discordapp.com/attachments/565569107701923852/1092485913046683658/image.pngâ–¾

  • the shadows _really_ work there
    b

    bright-gpu-74537

    04/03/2023, 4:29 PM
    the shadows really work there
  • looks way better
    a

    ambitious-knife-25690

    04/03/2023, 4:31 PM
    looks way better
  • 2 Questions: 1 - How do I make an element in an hbox stick to the right side of the layout/container? 2 - How do I split an hbox into 3 equal parts. Do I just set the inner elements width's to 33%?
    h

    helpful-boots-41914

    04/06/2023, 12:42 AM
    2 Questions: 1 - How do I make an element in an hbox stick to the right side of the layout/container? 2 - How do I split an hbox into 3 equal parts. Do I just set the inner elements width's to 33%?
  • http://haxeui.org/builder/?a314dff0
    p

    purple-businessperson-14467

    04/06/2023, 4:13 AM
    http://haxeui.org/builder/?a314dff0
1...161816191620...1687Latest