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

    bright-gpu-74537

    09/04/2022, 3:50 PM
    code seems fine, dunno about using button.screen, but assuming it set, it should be fine
  • b

    bright-gpu-74537

    09/04/2022, 3:50 PM
    what is the error? NPE or something?
  • b

    bright-gpu-74537

    09/04/2022, 3:52 PM
    oh, i think i know what is happening, the second param to "removeComponent" is "dispose", which if true (which is the default) will destroy the component and it should no longer be used, you might want to set that to false if you are planning on reusing the component (which you are)
  • f

    full-journalist-82607

    09/04/2022, 4:00 PM
    Nice, it was that. The worse thing, is that I saw the dispose parameter, but my brain read it "false". 🙂
  • b

    bright-gpu-74537

    09/04/2022, 4:01 PM
    yeah, i think true is a sensible default... most of the times, when you remove a component you are "done" with it
  • b

    bright-gpu-74537

    09/04/2022, 4:02 PM
    (there are special cases though, ofc)
  • f

    full-journalist-82607

    09/04/2022, 4:03 PM
    Oh, btw, do you remember when I told you about collecting the haxe-ui builders examples. A few days I started to look at them, and they disappeared 😦 I think all the examples older than a few months don't exist anymore
  • b

    bright-gpu-74537

    09/04/2022, 4:04 PM
    oh, yikes
  • b

    bright-gpu-74537

    09/04/2022, 4:04 PM
    yeah, there is a script that removes things older than.... ... i think 3 months?
  • b

    bright-gpu-74537

    09/04/2022, 4:04 PM
    maybe 6
  • f

    full-journalist-82607

    09/04/2022, 4:06 PM
    I think those before june don't exist anymore . The funny thing, is that when I talked with you about, I was looking at some that were maybe 2 years old ( that didn't work anymore). So the script must be recent 🙂
  • b

    bright-gpu-74537

    09/04/2022, 4:08 PM
    yeah, it was fairly recent 😦 and it was because the "build" folder wasnt taking up like 2gb
  • f

    full-journalist-82607

    09/04/2022, 4:14 PM
    Btw, I'm on firefox and when I do some tests in the builder, it never records what I have done , just tested it on Chrome and indeed it workds there. So firefox users must create a ton of empty , files which are useless to save ( but maybe it doesn't save them on your end too).
  • f

    full-journalist-82607

    09/04/2022, 4:17 PM
    Maybe you could have a save option. Because I usually use the haxeui to check if some thins are a bug which isn't useful to save.
  • b

    bright-gpu-74537

    09/04/2022, 4:21 PM
    yeah, its a nice idea... like a "permalink", tbh, the whole haxeui builder needs a revamp, it hasnt been updated in YEARS
  • f

    full-journalist-82607

    09/04/2022, 4:22 PM
    That's because it works quite well 😉
  • b

    bright-gpu-74537

    09/04/2022, 4:23 PM
    yeah, true enough... havent felt the need to update it... though a few more tabs would be nice (lik try.haxe) a place to put source too
  • f

    full-journalist-82607

    09/04/2022, 4:30 PM
    Oh never noticed it was on github, it says last update 2015
  • b

    bright-gpu-74537

    09/04/2022, 4:33 PM
    😮
  • c

    clever-yak-82528

    09/05/2022, 5:36 AM
    is there a nice way to make a search system using text inputs and listboxes, or am i gonna have to implement it manually?
  • b

    bright-gpu-74537

    09/05/2022, 6:21 AM
    native or composite?
  • b

    bright-gpu-74537

    09/05/2022, 6:58 AM
    actually, i guess the answer is the same either way:
  • b

    bright-gpu-74537

    09/05/2022, 6:58 AM
    http://haxeui.org/builder/?mryjzc
  • c

    clever-yak-82528

    09/05/2022, 7:09 AM
    oh that's great
  • c

    clever-yak-82528

    09/05/2022, 9:14 AM
    argh
  • b

    bright-gpu-74537

    09/05/2022, 11:45 AM
    never seen that before
  • b

    bright-gpu-74537

    09/05/2022, 11:46 AM
    what is the mainview fields?
  • c

    clever-yak-82528

    09/05/2022, 12:31 PM
    no idea
  • c

    clever-yak-82528

    09/05/2022, 12:31 PM
    but it seems to be to do with the fact that i am including a lot of data in the project
  • c

    clever-yak-82528

    09/05/2022, 12:31 PM
    btw, what does it mean to make a listview virtual? it massively sped up my code so i assume there must be a downside somewhere
1...124312441245...1687Latest