Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtual listview with item renderers #59

Open
Shallowmallow opened this issue Aug 24, 2024 · 0 comments
Open

Virtual listview with item renderers #59

Shallowmallow opened this issue Aug 24, 2024 · 0 comments

Comments

@Shallowmallow
Copy link
Contributor

Bug : for listviews with item renderers, only 6 item appear when it's virtual, all of them when it's not .

<listview id="lv2" width="200" height="150" selectedIndex="1"  virtual="true">
        <item-renderer layout="horizontal" width="100%">
            <checkbox id="complete" />
            <label width="100%" id="item" verticalAlign="center" />
            <image id="image" />
        </item-renderer>
        <data>
            <item complete="false" item="Item 1" image="haxeui-core/styles/default/haxeui_tiny.png" />
            <item complete="true" item="Item 2" image="haxeui-core/styles/default/haxeui_tiny.png" />
            <item complete="true" item="Item 3" image="haxeui-core/styles/default/haxeui_tiny.png" />
            <item complete="false" item="Item 4" image="haxeui-core/styles/default/haxeui_tiny.png" />
            <item complete="true" item="Item 5" image="haxeui-core/styles/default/haxeui_tiny.png" />
            <item complete="true" item="Item 6" image="haxeui-core/styles/default/haxeui_tiny.png" />
            <item complete="false" item="Item 7" image="haxeui-core/styles/default/haxeui_tiny.png" />
            <item complete="true" item="Item 8" image="haxeui-core/styles/default/haxeui_tiny.png" />
            <item complete="false" item="Item 9" image="haxeui-core/styles/default/haxeui_tiny.png" />
            <item complete="false" item="Item 10" image="haxeui-core/styles/default/haxeui_tiny.png" />
            <item complete="false" item="Item 11" image="haxeui-core/styles/default/haxeui_tiny.png" />
            <item complete="true" item="Item 12" image="haxeui-core/styles/default/haxeui_tiny.png" />
        </data>
    </listview>
    ```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant