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

Treeview Indentation Issue when using with SourceCache #7532

Open
ilmian opened this issue Feb 5, 2022 · 1 comment
Open

Treeview Indentation Issue when using with SourceCache #7532

ilmian opened this issue Feb 5, 2022 · 1 comment
Labels

Comments

@ilmian
Copy link

ilmian commented Feb 5, 2022

Describe the bug
Treeview's first item gets an odd indentation when populating it with an async method, while using it with a Dynamic Data's SourceCache.

To Reproduce
Steps to reproduce the behavior:

Bind Treeview control with a ReadOnlyObservableCollection of say Nodes. Populate Nodes collection using a SourceCache in an Async method InitAsync(). Run the app and you will see the right indentation in first treeivew item.

Expected behavior
Treeview items should be equally indented.

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot 2022-02-05 115522

Desktop (please complete the following information):

  • OS: Both Windows and macOS
  • Version 0.10.10 and 0.10.12

Additional context
I have created a demo project showing this behavior.
https://github.com/Anquet-Tech/TreeViewDemo

@ilmian ilmian added the bug label Feb 5, 2022
@ilmian
Copy link
Author

ilmian commented Mar 17, 2022

Anything facing the same issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant