Skip to content

Commit bba7319

Browse files
committed
aligned filter flyout items items
1 parent 183d8fd commit bba7319

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/TableViewColumnHeader.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,13 @@ protected override void OnApplyTemplate()
201201
_selectAllCheckBox.Unchecked += OnSelectAllCheckBoxUnchecked;
202202
}
203203

204+
#if !WINDOWS
205+
if (menuItem?.FindDescendant<ListView>(x => x.Name is "FilterItemsList") is { } filterItemsList)
206+
{
207+
filterItemsList.Margin = new Thickness(12, 0, 0, 0);
208+
}
209+
#endif
210+
204211
if (menuItem?.FindDescendant<AutoSuggestBox>(x => x.Name == "SearchBox") is { } searchBox)
205212
{
206213
searchBox.PlaceholderText = TableViewLocalizedStrings.SearchBoxPlaceholder;

src/Themes/TableViewColumnHeader.xaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@
166166
<CheckBox x:Name="SelectAllCheckBox"
167167
Margin="12,8,12,1" />
168168
</Border>
169-
<ListView Grid.Row="2"
169+
<ListView x:Name="FilterItemsList"
170+
Grid.Row="2"
170171
SelectionMode="None"
171172
ItemsSource="{Binding FilterItems}">
172173
<ListView.ItemContainerStyle>

0 commit comments

Comments
 (0)