-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
WrapPanel inside Listbox (ItemsPanelTemplate) only work/wrap with FluentTheme. #15788
Comments
It isn't really related to The
This gives the control infinite horizontal space, so as far as the Add That being said, I'm leaving this issue open, as I'm not sure sure why the Simple theme uses I suggest we change the default to |
Oh! I see, that does make sense. 😄 I'm not sure how to:
But following #12029, I did: And it solved my issue. ❤️ |
As typed :) It's an attached property, like |
Closing as by design. With options to redefine behavior. |
@maxkatz6 do you think simple theme should be changed to follow FluentTheme here or not? |
Describe the bug
To Reproduce
Avalonia.Sandbox
Expected behavior
WrapPanel should wrap regardless of the theme used.
Avalonia version
11.0.10
OS
Windows
Additional context
I was testing ActiPro theme/Controls inside my app and using the theme broke the layout for my file explorer.
At first I thought it was an ActiPro issue but with further testing I saw that WrapPanel inside ListBox only wrap with FluentTheme.
Maybe I did something wrong and this is not a bug but I will rather ask.
The text was updated successfully, but these errors were encountered: