ui: show icon preview next to name during icon selection

This commit is contained in:
VewDev
2025-09-02 12:22:33 +02:00
parent 8e2f8f4413
commit 0bdd4ad091
3 changed files with 36 additions and 9 deletions

View File

@@ -173,7 +173,10 @@
SelectedIndex="{Binding AppIconSelectedIndex}">
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Name}" />
<StackPanel Orientation="Horizontal" >
<Image Source="{Binding Icon}" Width="24" Height="24" Margin="0,0,8,0" />
<TextBlock Text="{Binding Name}" />
</StackPanel>
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>