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

Add "List View with a Tree" demo #207

Merged
merged 4 commits into from
Oct 9, 2024
Merged

Conversation

Nokse22
Copy link
Contributor

@Nokse22 Nokse22 commented Oct 6, 2024

Closes #149

I have called List View with TreeListModel to not confuse it with the old TreeView

Screenshot from 2024-10-06 19-35-08

@Nokse22
Copy link
Contributor Author

Nokse22 commented Oct 8, 2024

Closes #149

@Nokse22 Nokse22 marked this pull request as draft October 8, 2024 10:47
@Nokse22 Nokse22 changed the title Added list view with TreeListModel demo Added Tree List Model demo Oct 8, 2024
@Nokse22
Copy link
Contributor Author

Nokse22 commented Oct 8, 2024

I have renamed it Tree List Model, added the frame for the scrolled window like other demos and simplified the code a little

@Nokse22 Nokse22 marked this pull request as ready for review October 8, 2024 21:32
Copy link
Contributor

@sonnyp sonnyp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

image

Can you make it so that leaf items (without children) don't have the expander?

src/List View with TreeListModel/main.blp Outdated Show resolved Hide resolved
src/Tree List Model/main.blp Outdated Show resolved Hide resolved
src/Tree List Model/main.blp Outdated Show resolved Hide resolved
@sonnyp sonnyp added this to the 47 milestone Oct 9, 2024
@sonnyp sonnyp changed the title Added Tree List Model demo Add "List view with a Tree" demo Oct 9, 2024
@sonnyp sonnyp changed the title Add "List view with a Tree" demo Add "List View with a Tree" demo Oct 9, 2024
@sonnyp sonnyp merged commit b0faf68 into workbenchdev:main Oct 9, 2024
1 check failed
@Nokse22 Nokse22 deleted the tree-view branch October 9, 2024 15:28
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

Successfully merging this pull request may close these issues.

Tree view demo
2 participants