WrapPanel in ListBox doesn't wrap but shows scrollbar #5517
-
Hi, I'm trying to use a WrapPanel as the ItemsPanel in a ListBox, but I don't get the behavior I want. (I'm using Avalonia v0.10.0) This is the XAML:
What am I doing wrong here? When I give the ListBox a fixed size, the wrapping works fine. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It works for me: ListBoxBinding.zip. Probably some |
Beta Was this translation helpful? Give feedback.
It works for me: ListBoxBinding.zip.
Probably some
ListBox
parent is measuring with infinite width (e.g. aStackPanel
,ScrollViewer
,...).