SplashWindow default theme update. (#622)
* feat: set BasedOn property for SplashWindow ControlTheme * feat: remove default style setters from SplashWindow ControlTheme * feat: re-format to test cla.
This commit is contained in:
@@ -2,12 +2,10 @@
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:u="https://irihi.tech/ursa">
|
||||
<ControlTheme x:Key="{x:Type u:SplashWindow}" TargetType="u:SplashWindow">
|
||||
<Setter Property="Background" Value="{DynamicResource WindowDefaultBackground}" />
|
||||
<Setter Property="TransparencyBackgroundFallback" Value="{DynamicResource WindowDefaultBackground}" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource WindowDefaultForeground}" />
|
||||
<Setter Property="FontSize" Value="{DynamicResource DefaultFontSize}" />
|
||||
<Setter Property="FontFamily" Value="{DynamicResource DefaultFontFamily}" />
|
||||
<ControlTheme
|
||||
x:Key="{x:Type u:SplashWindow}"
|
||||
BasedOn="{StaticResource {x:Type Window}}"
|
||||
TargetType="u:SplashWindow">
|
||||
<Setter Property="ExtendClientAreaChromeHints" Value="NoChrome" />
|
||||
<Setter Property="ExtendClientAreaTitleBarHeightHint" Value="0" />
|
||||
<Setter Property="ExtendClientAreaToDecorationsHint" Value="True" />
|
||||
|
||||
Reference in New Issue
Block a user