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

    brave-kangaroo-30399

    08/05/2020, 3:06 AM
    So I mean the haxeUI side of this project is literally init, buildComponent, addChild, and the component is one of the example XMLs from the site
  • b

    brave-kangaroo-30399

    08/05/2020, 3:07 AM
    I had issues a while back where I got errors in compiling and restarting the language server “fixed” it
  • h

    handsome-television-62908

    08/05/2020, 3:07 AM
    Yeah but haxeui has several targets too, one target and test project is good
  • b

    brave-kangaroo-30399

    08/05/2020, 3:07 AM
    And I believe there was some macro cache thing that I thought got fixed
  • h

    handsome-television-62908

    08/05/2020, 3:07 AM
    It's not breaking for all targets
  • b

    brave-kangaroo-30399

    08/05/2020, 3:08 AM
    Windows target, and I made an issue on GH I thought... maybe not
  • h

    handsome-television-62908

    08/05/2020, 3:08 AM
    Where did you see it got fixed? Or do you mean with haxe in general
  • b

    brave-kangaroo-30399

    08/05/2020, 3:08 AM
    I compiled without an error
  • b

    brave-kangaroo-30399

    08/05/2020, 3:08 AM
    If I compile a second time, I get the error
  • b

    brave-kangaroo-30399

    08/05/2020, 3:09 AM
    Iirc the macro cache is interfering with the new compilation
  • h

    handsome-television-62908

    08/05/2020, 3:09 AM
    Yeah because vshaxe automatically integrates the language server with your build config... And no I don't believe the caching problem got fixed, which sounds like what you're experiencing
  • b

    brave-kangaroo-30399

    08/05/2020, 3:10 AM
    My internet also died so I can’t do a test project, but it would just be a default HaxeUI project
  • b

    brave-kangaroo-30399

    08/05/2020, 3:10 AM
    On OpenFL
  • h

    handsome-television-62908

    08/05/2020, 3:11 AM
    That's what I meant, okay- so you did make a ticket? In that case that's going to be at least a good start for this problem
  • h

    handsome-television-62908

    08/05/2020, 3:11 AM
    I know this problem doesn't exist for HTML5 but now I know it's broken on Kha and openFL
  • b

    brave-kangaroo-30399

    08/05/2020, 3:27 AM
    I’ll have to check, I may have made one a while back
  • q

    quick-king-64105

    08/07/2020, 6:03 AM
    ... So anyway! I'm wondering the best way to programmatically make the contents of a haxeui pane, uh, populate. I've got this thing where I'd like to make an inventory window, but in order to do that I need to be able to dynamically populate the window with the user's inventory. The elements would all be the same, I'd probably use something scrollable to contain them that isn't too complicated (a popup with a scrollbar controlling view of a vbox, and a button to exit, and a title; for example). I literally should just need the "how do I dynamically populate this?" part if things work the way they're meant to 🙃
  • b

    bright-gpu-74537

    08/07/2020, 9:06 AM
    im not sure i follow, you mean add items in a scrollview in code?
  • q

    quick-king-64105

    08/07/2020, 10:11 AM
    More-or-less. As well as remove them (for example, if an item is lost or used up).
  • q

    quick-king-64105

    08/07/2020, 10:14 AM
    Give me a moment.
  • q

    quick-king-64105

    08/07/2020, 10:23 AM
    Yes, I know my mockups are hideous, but I'm hoping it's clearer than the brain stew I call my words XD
  • q

    quick-king-64105

    08/07/2020, 10:24 AM
    The part where the items are (all the "ITEM HERE" boxes there, inside a scrollable) - how do I populate and/or remove things from there with code?
  • q

    quick-king-64105

    08/07/2020, 10:26 AM
    Also it doesn't strictly speaking have to be half out of viewport, I just wanted that there as an example of how it would look if the list was longer than the window is tall
  • b

    bright-gpu-74537

    08/07/2020, 10:32 AM
    so all possible, and if you want it to be super easy you could use a custom item renderer in a listview
  • b

    bright-gpu-74537

    08/07/2020, 10:32 AM
    but that makes the assumption that each of the items in are the same view, if not a scrollview with items will work
  • b

    bright-gpu-74537

    08/07/2020, 10:37 AM
    if you gimme a few minutes ill knock up a listview example, a scrollview example, and an example of how i would do it 🙂
  • b

    bright-gpu-74537

    08/07/2020, 10:37 AM
    (just in a meeting atm)
  • q

    quick-king-64105

    08/07/2020, 11:00 AM
    No particular hurry, Ian. Really ❤️
  • q

    quick-king-64105

    08/07/2020, 11:00 AM
    Your help is always appreciated.
  • b

    bright-gpu-74537

    08/07/2020, 11:03 AM
    👍
1...334335336...1687Latest