修复文字错误,和部分配色问题
This commit is contained in:
@@ -17,8 +17,9 @@
|
||||
<Style TargetType="Button" x:Key="ModalButtonStyle">
|
||||
<Setter Property="Padding" Value="10,5" />
|
||||
<Setter Property="MinWidth" Value="70" />
|
||||
<Setter Property="Background" Value="#F0F0F0" />
|
||||
<Setter Property="BorderBrush" Value="#D9D9D9" />
|
||||
<Setter Property="Foreground" Value="{DynamicResource TextPrimaryBrush}"/>
|
||||
<Setter Property="Background" Value="{DynamicResource BackgroundFloatingBrush}" />
|
||||
<Setter Property="BorderBrush" Value="{DynamicResource BorderCornerLightedGradientBrush}" />
|
||||
<Setter Property="BorderThickness" Value="1" />
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
@@ -47,8 +48,8 @@
|
||||
</Style>
|
||||
</Window.Resources>
|
||||
<Border
|
||||
Background="White"
|
||||
BorderBrush="#D9D9D9"
|
||||
Background="{DynamicResource BackgroundFloatingBrush}"
|
||||
BorderBrush="{DynamicResource BorderNormalBrush}"
|
||||
BorderThickness="1"
|
||||
CornerRadius="8">
|
||||
<Grid>
|
||||
@@ -60,6 +61,7 @@
|
||||
|
||||
<!-- Title -->
|
||||
<TextBlock
|
||||
Foreground="{DynamicResource TextPrimaryBrush}"
|
||||
FontSize="16"
|
||||
FontWeight="SemiBold"
|
||||
Grid.Row="0"
|
||||
@@ -69,6 +71,7 @@
|
||||
|
||||
<!-- Content -->
|
||||
<TextBlock
|
||||
Foreground="{DynamicResource TextPrimaryBrush}"
|
||||
Grid.Row="1"
|
||||
Margin="15,10"
|
||||
Text="This is the modal content."
|
||||
@@ -84,12 +87,12 @@
|
||||
Orientation="Horizontal">
|
||||
<Button
|
||||
Click="CancelButton_Click"
|
||||
Content="Cancel"
|
||||
Content="取消"
|
||||
Style="{StaticResource ModalButtonStyle}"
|
||||
x:Name="CancelButton" />
|
||||
<Button
|
||||
Click="OkButton_Click"
|
||||
Content="OK"
|
||||
Content="确定"
|
||||
IsDefault="True"
|
||||
Margin="10,0,0,0"
|
||||
Style="{StaticResource ModalButtonStyle}"
|
||||
|
||||
Reference in New Issue
Block a user