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

    bright-gpu-74537

    05/27/2019, 11:36 PM
    ... ... you can create a haxeui list now that is "virtual=true"
  • b

    bright-gpu-74537

    05/27/2019, 11:36 PM
    milions of items, no issue
  • b

    bright-gpu-74537

    05/27/2019, 11:37 PM
    i wonder how this fares with react
  • l

    loud-salesclerk-7438

    05/27/2019, 11:37 PM
    I remember seeing a demo of it some time back
  • b

    bright-gpu-74537

    05/27/2019, 11:38 PM
    its not an issue... "MyList.virtual = true"
  • b

    bright-gpu-74537

    05/27/2019, 11:38 PM
    there are some caveats
  • b

    bright-gpu-74537

    05/27/2019, 11:38 PM
    there is an assumption that all item renderers are the same size
  • b

    bright-gpu-74537

    05/27/2019, 11:38 PM
    but thats for scrollling
  • b

    bright-gpu-74537

    05/27/2019, 11:39 PM
    you can make them bigger, it just will be wierd
  • b

    bright-gpu-74537

    05/27/2019, 11:39 PM
    how does react fall over here?
  • b

    bright-gpu-74537

    05/27/2019, 11:40 PM
    my guess is it relies on the browser
  • b

    bright-gpu-74537

    05/27/2019, 11:41 PM
    haxeui isnt browser based
  • b

    bright-gpu-74537

    05/27/2019, 11:49 PM
    tableview would be nice to fix, a use case would make a lot of sense
  • l

    loud-salesclerk-7438

    05/28/2019, 12:06 AM
    hmmm. I don't think I can finish it tonight, html5 compiles and shows empty table with no text; C++ took ages to compile and also shows list with columns but no text and neko version crashes...
  • l

    loud-salesclerk-7438

    05/28/2019, 9:44 AM
    @bright-gpu-74537 I've made a tableview demo project: https://github.com/AlexHaxe/haxeui-tableview-demo it's a stripped down version of what I use in one of my projects.
  • l

    loud-salesclerk-7438

    05/28/2019, 9:45 AM
    I hope it compiles... note it requires a patch to haxeui-openfl to make texts appear (see README.md)
  • b

    bright-gpu-74537

    05/28/2019, 9:51 AM
    ok, thanks Alex... a big help... ill take a look a little later
  • l

    loud-salesclerk-7438

    05/28/2019, 11:03 AM
    no problem... I haven't figured out why my actual project doesn't need a patched version, probably due to some styling, themes or custom fonts I use over there
  • q

    quick-king-64105

    05/28/2019, 4:16 PM
    > Basically, if I already have access to the child component array, there’s little point in also having a FlxGroup since that’s a glorified array I don't agree? Collisions are done, in terms of grouping, on FlxGroups. So the interface, at least, is key here.
  • q

    quick-king-64105

    05/28/2019, 4:17 PM
    Oh, okay. I should read entire threads before responding. You're planning on working out that Array. But then the rest is a bit puzzling. I suppose you'll know when I try to make someone jump on a menu what went wrong.
  • q

    quick-king-64105

    05/28/2019, 4:19 PM
    [...]
  • q

    quick-king-64105

    05/28/2019, 4:20 PM
    Anyway, Ian, is there a good way to programmatically generate a list of objects to add to the ui? In mind, particularly, is an item list. Do I just treat it like any other time (building out one programmatically) and just add them?
  • q

    quick-king-64105

    05/28/2019, 11:14 PM
    Copy code
    xml
    <?xml version="1.0" encoding="utf-8" ?>
    <box left="23" top="23" width="804" height="594" style="background-color:#FFFFFF; border-style: solid; border-size: 1px; border-color:#000000;">
    </box>
    Border color not set. Also tried
    border-width: 1px;
    ... also tried dropping the px from both variations. Going to fake it for now.
  • b

    bright-gpu-74537

    05/29/2019, 6:31 AM
    what backend? Not sure border is implemented in haxeui-flixel
  • q

    quick-king-64105

    05/29/2019, 2:42 PM
    With me, it's pretty safe to assume haxeui-flixel 😉
  • q

    quick-king-64105

    05/29/2019, 2:44 PM
    I'm also getting a null reference error I can't track down, which is turning out to be "not fun". A minimal case is on my list of things to do.
  • q

    quick-king-64105

    05/29/2019, 2:58 PM
    Happens during text reflow... the second time.
  • q

    quick-king-64105

    05/29/2019, 2:58 PM
    There's no parent caller for me to reference to track it down.
  • q

    quick-king-64105

    05/29/2019, 3:02 PM
    Can get this much for you right now though; print debugging shows
    asComponent.left
    doesn't exist, apparently.
  • q

    quick-king-64105

    05/29/2019, 3:03 PM
    I'll work on that minimal example.
1...464748...1687Latest