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

    bright-gpu-74537

    02/28/2023, 8:38 PM
    more clip rect woes it seems 😉
  • a

    ambitious-knife-25690

    02/28/2023, 8:41 PM
    Do you have an example that I can test changes against?
  • b

    bright-gpu-74537

    02/28/2023, 8:45 PM
    what do you mean? Isnt what you have above the test?
  • a

    ambitious-knife-25690

    02/28/2023, 8:46 PM
    true, but it seems like there's a lot of moving parts with the above example
  • b

    bright-gpu-74537

    02/28/2023, 8:48 PM
    i think at the stage you are at you probably want quite alot of moving parts... two listviews with, say, 10 items in each above each other will likely repro the issue
  • a

    ambitious-knife-25690

    02/28/2023, 9:05 PM
    i guess i'm looking for something a bit more "definitive"
  • a

    ambitious-knife-25690

    02/28/2023, 9:06 PM
    like this is one you gave me before
  • a

    ambitious-knife-25690

    02/28/2023, 9:06 PM
    and my current clip setup works with this example
  • b

    bright-gpu-74537

    02/28/2023, 9:11 PM
    what about: http://haxeui.org/builder/?6d425d79
  • b

    bright-gpu-74537

    02/28/2023, 9:11 PM
    and if that doesnt work, does it work without the icons? (just wondering if thats your issue somehow)
  • a

    ambitious-knife-25690

    02/28/2023, 9:12 PM
    this works
  • a

    ambitious-knife-25690

    02/28/2023, 9:13 PM
    OOOO i think i may have just accidentally figured out what's going on with drag...
  • a

    ambitious-knife-25690

    02/28/2023, 9:14 PM
    I can drag if i'm between the buttons
  • b

    bright-gpu-74537

    02/28/2023, 9:15 PM
    ok, you might need to enhance your event mapping a little... mouse down on a button should also count as mouse down in the scrollview (or whatever), events are also cancellable, but you probably dont need to worry about that
  • b

    bright-gpu-74537

    02/28/2023, 9:16 PM
    but as for whats up with your clipping... ... or whatever it is... who knows... cant really help tbh
  • b

    bright-gpu-74537

    02/28/2023, 9:16 PM
    oh, i wonder actually:
  • a

    ambitious-knife-25690

    02/28/2023, 9:16 PM
    > events are also cancellable this one is an issue i believe, dropdowns don't retract for me
  • b

    bright-gpu-74537

    02/28/2023, 9:18 PM
    i dont think thats an event cancel issue, that sounds like a mouse issue, you mean if you click outside the dropdown it doesnt hide?
  • a

    ambitious-knife-25690

    02/28/2023, 9:18 PM
    yeah
  • a

    ambitious-knife-25690

    02/28/2023, 9:18 PM
    > mouse down in the scrollview Would this be a screenimpl thing or a componentimpl thing?
  • b

    bright-gpu-74537

    02/28/2023, 9:19 PM
    you know what, i think ive figured out your issues, i meant to mention it when i saw the notifications flash at 0x0... i have a feeling your Screen.instance.removeComponent code is dodgey
  • b

    bright-gpu-74537

    02/28/2023, 9:19 PM
    that would explain the notification, and the dropdown, and i also think it explains the listview thing because the one on the bottom is virtual, which means it might be destroying item renderers... this is a thought anyway
  • b

    bright-gpu-74537

    02/28/2023, 9:20 PM
    so i would sanity check your remove code in screen, and also you handleRemoveComponent in componentimpl
  • a

    ambitious-knife-25690

    02/28/2023, 9:21 PM
    I think i fixed the flashing at 0,0 issues earlier
  • a

    ambitious-knife-25690

    02/28/2023, 9:21 PM
    i at least can't seem to reproduce it anymore with notifications
  • a

    ambitious-knife-25690

    02/28/2023, 9:21 PM
    However, i don't have handleremovecomponent in screen so.... 😄
  • b

    bright-gpu-74537

    02/28/2023, 9:21 PM
    im not sure you did, i think you just fixed the fade, so it looks like you fixed it
  • a

    ambitious-knife-25690

    02/28/2023, 9:21 PM
    Oh!
  • b

    bright-gpu-74537

    02/28/2023, 9:22 PM
    it screen its removecomponent in componentimpl its handleremovecomponent
  • b

    bright-gpu-74537

    02/28/2023, 9:22 PM
    you defo need to honour the dispose param (or destroy, cant remember the name)
1...155615571558...1687Latest