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

    bright-gpu-74537

    07/02/2020, 1:49 PM
    right - thanks
  • f

    fast-rain-20339

    07/02/2020, 1:52 PM
    selectedIndex: 0
    selectedItem: null
  • b

    bright-gpu-74537

    07/02/2020, 1:52 PM
    weird
  • b

    bright-gpu-74537

    07/02/2020, 1:52 PM
    thats also why the "fixed" it
  • f

    fast-rain-20339

    07/02/2020, 1:52 PM
    Exactly
  • b

    bright-gpu-74537

    07/02/2020, 1:52 PM
    so defo a bug somewhere there
  • f

    fast-rain-20339

    07/02/2020, 1:52 PM
    I agree, though a buried one. I tried pretty hard with my testcase heh
  • b

    bright-gpu-74537

    07/02/2020, 1:53 PM
    yeah, some type of weird edge case - though cant think of what it could be - ill check it out, plan on going on a little bug hunt later
  • f

    fast-rain-20339

    07/02/2020, 1:55 PM
    oops
  • f

    fast-rain-20339

    07/02/2020, 1:56 PM
    Never been happier to click through a couple of sprites 😆 + demo of text selection with mouse.
  • b

    bright-gpu-74537

    07/02/2020, 1:57 PM
    nice, so the kha text box didnt allow for text selection with the mouse?
  • f

    fast-rain-20339

    07/02/2020, 1:59 PM
    Nope, and it still needs more love haha. I've got a half fixed bug with lines with looong words. Also, natively double clicking goes into word select mode and triple clicking goes into paragraph select mode. That'll be relatively tricky to implement as the midpoint of words and paragraphs needs to be determined, much harder than a character based selection, I think. Might be skippable? Where do you want the native feeling vs 10k LOC balance to be? heh
  • b

    bright-gpu-74537

    07/02/2020, 2:00 PM
    yeah... still the mouse selection alone sounds nice... i thought it was already there tbh, but probably isnt because i tried and when "meh, who needs mouse selection!" 😄
  • b

    bright-gpu-74537

    07/02/2020, 2:00 PM
    a.k.a: gave up
  • f

    fast-rain-20339

    07/02/2020, 2:01 PM
    Ah the basecode was there and very helpful. Clicking and draging just moved caret, I made it create a selection
  • b

    bright-gpu-74537

    07/02/2020, 2:01 PM
    gotcha
  • b

    bright-gpu-74537

    07/02/2020, 2:01 PM
    can you paste in the custom item renderer for your list?
  • b

    bright-gpu-74537

    07/02/2020, 2:01 PM
    (just want to check something really quick)
  • f

    fast-rain-20339

    07/02/2020, 2:02 PM
    Copy code
    <listview width="300" height="400" selectedIndex="0" scrollMode="inertial" id="listview">
            <item-renderer layoutName="horizontal" width="100%" height="40">
                <image width="40" height="40" id="icon"/>
                <label width="100%" id="name" />
            </item-renderer>
    
            <data>
            </data>
        </listview>
  • f

    fast-rain-20339

    07/02/2020, 2:02 PM
    And I'm not using the image, so it's pretty stock standard
  • b

    bright-gpu-74537

    07/02/2020, 2:03 PM
    wheres the checkbox?
  • f

    fast-rain-20339

    07/02/2020, 2:03 PM
    Oh, I got rid of it. I only used that briefly in my test case to evaluate whether it could be the difference between CLICK and CHANGE
  • b

    bright-gpu-74537

    07/02/2020, 2:03 PM
    gotcha
  • f

    fast-rain-20339

    07/02/2020, 2:06 PM
    Alright I'm off for the night, but feel free to message, I'll see in the morning. Thanks, and good luck 😄
  • b

    bright-gpu-74537

    07/02/2020, 2:06 PM
    nice one, sleep well... 🙂
  • w

    wide-greece-63479

    07/02/2020, 6:12 PM
    @User Just gave coconut.haxeui a shot... Looking very promising! 🙂 Are you involved in any way (this far)?
  • b

    bright-gpu-74537

    07/02/2020, 6:59 PM
    nope, not involved at all, very cool though 🙂
  • f

    fast-rain-20339

    07/03/2020, 12:38 AM
    This is very nifty 😄
  • b

    brave-kangaroo-30399

    07/03/2020, 1:32 AM
    Whoa what
  • f

    fast-rain-20339

    07/03/2020, 1:32 AM
    Yeah multiple events can trigger the one thing. Just implicit from the metadata or whatever's it's called I guess 🙂
1...304305306...1687Latest