feat(ui): searchable Material Design icon library for lists and folders
This commit is contained in:
@@ -143,8 +143,13 @@
|
||||
<ScrollViewer>
|
||||
<StackPanel Spacing="8" Margin="0,8,0,0">
|
||||
<TextBlock Classes="field-label" Text="{loc:Tr modals.listSettings.icon}"/>
|
||||
<TextBox Text="{Binding IconSearch}"
|
||||
Watermark="{loc:Tr modals.listSettings.iconSearchWatermark}"/>
|
||||
<TextBlock Text="{loc:Tr modals.listSettings.iconSearchTruncated}"
|
||||
IsVisible="{Binding IconResultsTruncated}"
|
||||
Opacity="0.6" FontSize="12" TextWrapping="Wrap"/>
|
||||
<ListBox ItemsSource="{Binding Icons}"
|
||||
SelectedItem="{Binding Icon, Mode=TwoWay}"
|
||||
SelectedItem="{Binding SelectedIconOption, Mode=TwoWay}"
|
||||
Background="Transparent" BorderThickness="0"
|
||||
HorizontalAlignment="Left">
|
||||
<ListBox.ItemsPanel>
|
||||
@@ -157,6 +162,7 @@
|
||||
<!-- No Foreground here on purpose: the icon inherits the container's, so the
|
||||
selected/hover states of ListBoxItem reach it (see Ui/CLAUDE.md). -->
|
||||
<PathIcon Width="20" Height="20" Margin="6"
|
||||
ToolTip.Tip="{Binding}"
|
||||
Data="{Binding Converter={StaticResource IconKey}}"/>
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
|
||||
Reference in New Issue
Block a user