Skip to content

Commit 9b666d3

Browse files
committed
Add Flyout UI for Filter
1 parent 7e50eb5 commit 9b666d3

File tree

1 file changed

+27
-28
lines changed

1 file changed

+27
-28
lines changed

Flow.Launcher/SettingPages/Views/SettingsPanePluginStore.xaml

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -65,34 +65,33 @@
6565
Command="{Binding RefreshExternalPluginsCommand}"
6666
Content="{DynamicResource refresh}"
6767
FontSize="13" />
68-
<CheckBox
69-
Height="34"
70-
Margin="0 5 5 5"
71-
HorizontalAlignment="Right"
72-
VerticalAlignment="Center"
73-
Content=".Net"
74-
IsChecked="{Binding ShowDotNet}" />
75-
<CheckBox
76-
Height="34"
77-
Margin="0 5 5 5"
78-
HorizontalAlignment="Right"
79-
VerticalAlignment="Center"
80-
Content="Python"
81-
IsChecked="{Binding ShowPython}" />
82-
<CheckBox
83-
Height="34"
84-
Margin="0 5 5 5"
85-
HorizontalAlignment="Right"
86-
VerticalAlignment="Center"
87-
Content="Node"
88-
IsChecked="{Binding ShowNodeJs}" />
89-
<CheckBox
90-
Height="34"
91-
Margin="0 5 8 5"
92-
HorizontalAlignment="Right"
93-
VerticalAlignment="Center"
94-
Content="Exe"
95-
IsChecked="{Binding ShowExecutable}" />
68+
<Button Height="34" Margin="0 0 8 0">
69+
<ui:FontIcon FontSize="14" Glyph="&#xe71c;" />
70+
<ui:FlyoutService.Flyout>
71+
<ui:MenuFlyout x:Name="FilterFlyout">
72+
<MenuItem
73+
Header=".Net"
74+
IsCheckable="True"
75+
IsChecked="{Binding ShowDotNet, Mode=TwoWay}"
76+
StaysOpenOnClick="True" />
77+
<MenuItem
78+
Header="Python"
79+
IsCheckable="True"
80+
IsChecked="{Binding ShowPython, Mode=TwoWay}"
81+
StaysOpenOnClick="True" />
82+
<MenuItem
83+
Header="Node"
84+
IsCheckable="True"
85+
IsChecked="{Binding ShowNodeJs, Mode=TwoWay}"
86+
StaysOpenOnClick="True" />
87+
<MenuItem
88+
Header="Exe"
89+
IsCheckable="True"
90+
IsChecked="{Binding ShowExecutable, Mode=TwoWay}"
91+
StaysOpenOnClick="True" />
92+
</ui:MenuFlyout>
93+
</ui:FlyoutService.Flyout>
94+
</Button>
9695
<TextBox
9796
Name="PluginStoreFilterTextbox"
9897
Width="150"

0 commit comments

Comments
 (0)