haxeui / haxeui-core

The core library of the HaxeUI framework
http://haxeui.org
MIT License
340 stars 71 forks source link

Hovering in scroll views #560

Closed Shallowmallow closed 7 months ago

Shallowmallow commented 8 months ago

Capture vidéo 2023-12-26 12:41:14.webm

Hovering now works inside of non virtual scroll views.

ianharrigan commented 8 months ago

Do you happen to have a builder of the example in the video? (Just want to see the current behaviour)

Shallowmallow commented 8 months ago

I tested this on

<listview id="lv1" width="200" height="150" selectedIndex="0">
<data>
<item text="Haxe" />
<item text="Java" />
<item text="Javascript" />
<item text="C++" />
<item text="PHP" />
<item text="C#"/>
<item text="F#" />
<item text="OCaml" />
<item text="Assembler" />
</data>
</listview>
<tableview id="tv2" width="230" height="200">
<header>
<column id="colA" text="Column A" width="75" />
<column id="colB" text="Column B" width="200" />
<column id="colC" text="Column C" width="75" />
</header>
<data>
<item colA="A1" colB="B1" colC="C1" />
<item colA="A2" colB="B2" colC="C2" />
<item colA="A3" colB="B3" colC="C3" />
<item colA="A4" colB="B4" colC="C4" />
<item colA="A5" colB="B5" colC="C5" />
<item colA="A6" colB="B6" colC="C6" />
<item colA="A7" colB="B7" colC="C7" />
<item colA="A8" colB="B8" colC="C8" />
<item colA="A9" colB="B9" colC="C9" />
</data>
</tableview>
<tableview id="tv3" width="230" height="200">
<header>
<column id="colX" text="X" width="26" style="text-align:center;" />
<column id="colA" text="Column A" width="200" />
<column id="colB" text="Column B" width="75" />
</header>
<item-renderer verticalAlign="center">
<checkbox id="colX" />
</item-renderer>
<item-renderer verticalAlign="center">
<button id="colA" width="100%" />
</item-renderer>
<item-renderer>
<button id="colB" width="100%" />
</item-renderer>
<data>
<item colX="true" colA="A1" colB="B1" />
<item colX="true" colA="A2" colB="B2" />
<item colX="false" colA="A3" colB="B3" />
<item colX="false" colA="A4" colB="B4" />
<item colX="true" colA="A5" colB="B5" />
<item colX="true" colA="A6" colB="B6" />
<item colX="false" colA="A7" colB="B7" />
<item colX="true" colA="A8" colB="B8" />
<item colX="true" colA="A9" colB="B9" />
</data>
</tableview>

Le mar. 26 déc. 2023 à 13:09, Ian Harrigan @.***> a écrit :

Do you happen to have a builder of the example in the video? (Just want to see the current behaviour)

— Reply to this email directly, view it on GitHub https://github.com/haxeui/haxeui-core/pull/560#issuecomment-1869496481, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBNBIWVDWGTTUUS6FWNHODYLK46XAVCNFSM6AAAAABBDGLZMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGQ4TMNBYGE . You are receiving this because you authored the thread.Message ID: @.***>

Shallowmallow commented 8 months ago

Sorry this one

<tableview id="tv3" width="230" height="200">
<header>
<column id="colX" text="X" width="26" style="text-align:center;" />
<column id="colA" text="Column A" width="200" />
<column id="colB" text="Column B" width="75" />
</header>
<item-renderer verticalAlign="center">
<checkbox id="colX" />
</item-renderer>
<item-renderer verticalAlign="center">
<button id="colA" width="100%" />
</item-renderer>
<item-renderer>
<button id="colB" width="100%" />
</item-renderer>
<data>
<item colX="true" colA="A1" colB="B1" />
<item colX="true" colA="A2" colB="B2" />
<item colX="false" colA="A3" colB="B3" />
<item colX="false" colA="A4" colB="B4" />
<item colX="true" colA="A5" colB="B5" />
<item colX="true" colA="A6" colB="B6" />
<item colX="false" colA="A7" colB="B7" />
<item colX="true" colA="A8" colB="B8" />
<item colX="true" colA="A9" colB="B9" />
</data>
</tableview>

Le mar. 26 déc. 2023 à 13:09, Ian Harrigan @.***> a écrit :

Do you happen to have a builder of the example in the video? (Just want to see the current behaviour)

— Reply to this email directly, view it on GitHub https://github.com/haxeui/haxeui-core/pull/560#issuecomment-1869496481, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBNBIWVDWGTTUUS6FWNHODYLK46XAVCNFSM6AAAAABBDGLZMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGQ4TMNBYGE . You are receiving this because you authored the thread.Message ID: @.***>