Fix LinearGradientBrush styles

This commit is contained in:
Jeffrey Ye 2018-09-01 11:59:17 -07:00
Родитель 9226a01123
Коммит e5d05ebb7e
2 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -36,7 +36,7 @@
<Style Selector="Button.CloseButtonStyle"> <Style Selector="Button.CloseButtonStyle">
<Setter Property="Background"> <Setter Property="Background">
<Setter.Value> <Setter.Value>
<LinearGradientBrush EndPoint="0,1" StartPoint="0,0"> <LinearGradientBrush EndPoint="0%,100%" StartPoint="0%,0%">
<GradientStop Offset="0"> <GradientStop Offset="0">
<GradientStop.Color> <GradientStop.Color>
<controls:ControlColor Color="243" /> <controls:ControlColor Color="243" />
@ -92,7 +92,7 @@
<Style Selector="Button.CloseButtonStyle:pointerover /template/ Grid.Border#buttonBorder"> <Style Selector="Button.CloseButtonStyle:pointerover /template/ Grid.Border#buttonBorder">
<Setter Property="Background"> <Setter Property="Background">
<Setter.Value> <Setter.Value>
<LinearGradientBrush EndPoint="0,1" StartPoint="0,0"> <LinearGradientBrush EndPoint="0%,100%" StartPoint="0%,0%">
<GradientStop Offset="0"> <GradientStop Offset="0">
<GradientStop.Color> <GradientStop.Color>
<controls:ControlColor Color="250" Highlight="0.3"/> <controls:ControlColor Color="250" Highlight="0.3"/>
@ -111,7 +111,7 @@
<Style Selector="Button.CloseButtonStyle:pressed /template/ Grid.Border#buttonBorder"> <Style Selector="Button.CloseButtonStyle:pressed /template/ Grid.Border#buttonBorder">
<Setter Property="Background"> <Setter Property="Background">
<Setter.Value> <Setter.Value>
<LinearGradientBrush EndPoint="0,1" StartPoint="0,0"> <LinearGradientBrush EndPoint="0%,100%" StartPoint="0%,0%">
<GradientStop Offset="0"> <GradientStop Offset="0">
<GradientStop.Color> <GradientStop.Color>
<controls:ControlColor Color="224"/> <controls:ControlColor Color="224"/>

Просмотреть файл

@ -18,8 +18,8 @@
BorderBrush="#FF7898B5" BorderBrush="#FF7898B5"
CornerRadius="1"> CornerRadius="1">
<Border.Background> <Border.Background>
<LinearGradientBrush StartPoint="0,0" <LinearGradientBrush StartPoint="0%,0%"
EndPoint="1,1"> EndPoint="100%,100%">
<LinearGradientBrush.GradientStops> <LinearGradientBrush.GradientStops>
<GradientStop Color="White" <GradientStop Color="White"
Offset=".2" /> Offset=".2" />