Skip to content

Commit bdf369b

Browse files
ArlodotexeCopilot
andcommitted
Update components/Extensions/src/ListViewBase/ListViewExtensions.StretchItemContainer.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e9af6a9 commit bdf369b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

components/Extensions/src/ListViewBase/ListViewExtensions.StretchItemContainer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ private static void ItemContainerStretchDirectionChanging(ListViewBase sender, C
5151
{
5252
var stretchDirection = GetItemContainerStretchDirection(sender);
5353

54-
// Set vertical content stretching
54+
// Set horizontal content stretching
5555
if (stretchDirection is ItemContainerStretchDirection.Horizontal or ItemContainerStretchDirection.Both)
5656
args.ItemContainer.HorizontalContentAlignment = HorizontalAlignment.Stretch;
5757

58-
// Set horizontal content stretching
58+
// Set vertical content stretching
5959
if (stretchDirection is ItemContainerStretchDirection.Vertical or ItemContainerStretchDirection.Both)
6060
args.ItemContainer.VerticalContentAlignment = VerticalAlignment.Stretch;
6161
}

0 commit comments

Comments
 (0)