You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WrapPanel with infinity width crashes trying to stretch its last item #703
⚠️
Hey @AndrewKeepCoding, I see you use the term "infinite width", but * doesn't mean "infinite". It means "stretch using equal space" and that can be seen by something like <Grid ColumnDefinitions="1*, 3*">. This means: the second column must be three times the size of the first. In other words: two columns, 25% and 75% width of the total. When you have only one column, and one child element, that means the Grid is stretched horizontally, so the child is actually correctly stretching its last item.
Activity
AndrewKeepCoding commentedon Jul 17, 2025
This bug is causing the crash in #297.
Jay-o-Way commentedon Jul 24, 2025
Hey @AndrewKeepCoding, I see you use the term "infinite width", but
*doesn't mean "infinite". It means "stretch using equal space" and that can be seen by something like<Grid ColumnDefinitions="1*, 3*">. This means: the second column must be three times the size of the first. In other words: two columns, 25% and 75% width of the total. When you have only one column, and one child element, that means the Grid is stretched horizontally, so the child is actually correctly stretching its last item.