use Win11 as default theme for Updater
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using Pilz.UI.Telerik.Dialogs;
|
||||
using Pilz.UI.Telerik.Symbols;
|
||||
using Pilz.UI.Telerik.Theming;
|
||||
using Telerik.WinControls;
|
||||
using Telerik.WinControls.Themes;
|
||||
|
||||
namespace ModpackUpdater.Apps;
|
||||
@@ -14,7 +15,7 @@ public static class AppGlobals
|
||||
ThemeHelper.ApplyApplicationTheme(ApplicationTheme.Auto,
|
||||
() => new Windows11CompactTheme(),
|
||||
() => new Windows11CompactDarkTheme());
|
||||
|
||||
|
||||
RadFlyoutBase.ConfirmSvg = Symbols.GetSvgImage(AppSymbols.checkmark, Pilz.UI.Symbols.SymbolSize.Small);
|
||||
RadFlyoutBase.CancelSvg = Symbols.GetSvgImage(AppSymbols.cancel, Pilz.UI.Symbols.SymbolSize.Small);
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 7.3 KiB |
File diff suppressed because one or more lines are too long
@@ -8,7 +8,6 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="CustomThemes\*.tssp" />
|
||||
<EmbeddedResource Include="Symbols\*.svg" />
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user