add cancel icon
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Pilz.UI.Telerik.Symbols;
|
||||
using Pilz.UI.Telerik.Dialogs;
|
||||
using Pilz.UI.Telerik.Symbols;
|
||||
using Pilz.UI.Telerik.Theming;
|
||||
using Telerik.WinControls.Themes;
|
||||
|
||||
@@ -13,5 +14,8 @@ 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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,4 +19,5 @@ public enum AppSymbols
|
||||
wrench,
|
||||
github,
|
||||
gitlab,
|
||||
cancel,
|
||||
}
|
||||
|
||||
6
ModpackUpdater.Apps/Symbols/cancel.svg
Normal file
6
ModpackUpdater.Apps/Symbols/cancel.svg
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" width="32" height="32">
|
||||
<path fill="#f44336" d="M44,24c0,11.045-8.955,20-20,20S4,35.045,4,24S12.955,4,24,4S44,12.955,44,24z" />
|
||||
<path fill="#fff" d="M29.656,15.516l2.828,2.828l-14.14,14.14l-2.828-2.828L29.656,15.516z" />
|
||||
<path fill="#fff" d="M32.484,29.656l-2.828,2.828l-14.14-14.14l2.828-2.828L32.484,29.656z" />
|
||||
</svg>
|
||||
Reference in New Issue
Block a user