mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
Plugin settings UI - Fixed custom icons not loading in settings window
This commit is contained in:
parent
7a3be83bf6
commit
e32b181d9f
@ -7,6 +7,7 @@
|
|||||||
xmlns:controls="clr-namespace:MaterialDesignExtensions.Controls;assembly=MaterialDesignExtensions"
|
xmlns:controls="clr-namespace:MaterialDesignExtensions.Controls;assembly=MaterialDesignExtensions"
|
||||||
xmlns:s="https://github.com/canton7/Stylet"
|
xmlns:s="https://github.com/canton7/Stylet"
|
||||||
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
||||||
|
xmlns:shared="clr-namespace:Artemis.UI.Shared;assembly=Artemis.UI.Shared"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="Plugin configuration"
|
Title="Plugin configuration"
|
||||||
Background="{DynamicResource MaterialDesignPaper}"
|
Background="{DynamicResource MaterialDesignPaper}"
|
||||||
@ -25,7 +26,7 @@
|
|||||||
<DockPanel>
|
<DockPanel>
|
||||||
<controls:AppBar Type="Dense" Title="{Binding ActiveItem.Plugin.Info.Name}" DockPanel.Dock="Top" Margin="-18 0 0 0" ShowShadow="False">
|
<controls:AppBar Type="Dense" Title="{Binding ActiveItem.Plugin.Info.Name}" DockPanel.Dock="Top" Margin="-18 0 0 0" ShowShadow="False">
|
||||||
<controls:AppBar.AppIcon>
|
<controls:AppBar.AppIcon>
|
||||||
<materialDesign:PackIcon Kind="{Binding Icon}" Width="20" Height="28" />
|
<shared:ArtemisIcon Icon="{Binding Icon}"></shared:ArtemisIcon>
|
||||||
</controls:AppBar.AppIcon>
|
</controls:AppBar.AppIcon>
|
||||||
</controls:AppBar>
|
</controls:AppBar>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user