|
@@ -1,14 +1,12 @@
|
|
|
<Styles xmlns="https://github.com/avaloniaui"
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
-
|
|
|
<Style Selector="TextBox">
|
|
|
- <Setter Property="BorderThickness" Value="0" />
|
|
|
- <!-- <Setter Property="BorderBrush" Value="{DynamicResource PrsTileBorder}" /> -->
|
|
|
- <!-- <Setter Property="BorderThickness"> -->
|
|
|
- <!-- <Setter.Value> -->
|
|
|
- <!-- <DynamicResource ResourceKey="PrsBorderThickness" /> -->
|
|
|
- <!-- </Setter.Value> -->
|
|
|
- <!-- </Setter> -->
|
|
|
+ <Setter Property="BorderBrush" Value="{DynamicResource PrsTileBorder}" />
|
|
|
+ <Setter Property="BorderThickness">
|
|
|
+ <Setter.Value>
|
|
|
+ <DynamicResource ResourceKey="PrsBorderThickness" />
|
|
|
+ </Setter.Value>
|
|
|
+ </Setter>
|
|
|
<Setter Property="Background" Value="{DynamicResource PrsTileBackground}" />
|
|
|
<Setter Property="Foreground" Value="{DynamicResource PrsTileForeground}" />
|
|
|
<Setter Property="CornerRadius" Value="{DynamicResource PrsCornerRadius}" />
|
|
@@ -34,12 +32,8 @@
|
|
|
</Style>
|
|
|
|
|
|
<Style Selector="TextBox:focus /template/ Border#PART_BorderElement">
|
|
|
- <Setter Property="BorderThickness" Value="0" />
|
|
|
- <Setter Property="Background" Value="{DynamicResource PrsTileBackground}" />
|
|
|
+ <Setter Property="BorderBrush" Value="{TemplateBinding BorderBrush}" />
|
|
|
+ <Setter Property="BorderThickness" Value="{TemplateBinding BorderThickness}"/>
|
|
|
+ <Setter Property="Background" Value="{TemplateBinding Background}" />
|
|
|
</Style>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
</Styles>
|