feat: replace Bold by {DynamicResource TextBlockTitleFontWeight}
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
Margin="0,28,0,0"
|
||||
Content="{TemplateBinding Header}"
|
||||
FontSize="18"
|
||||
FontWeight="Bold"
|
||||
FontWeight="{DynamicResource TextBlockTitleFontWeight}"
|
||||
IsVisible="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Header, Converter={x:Static ObjectConverters.IsNotNull}}" />
|
||||
<Rectangle
|
||||
Height="1"
|
||||
@@ -50,7 +50,7 @@
|
||||
Margin="0,0,0,4"
|
||||
HorizontalAlignment="{TemplateBinding LabelAlignment}"
|
||||
Orientation="Horizontal">
|
||||
<ContentPresenter Content="{TemplateBinding Label}" FontWeight="Bold" />
|
||||
<ContentPresenter Content="{TemplateBinding Label}" FontWeight="{DynamicResource TextBlockTitleFontWeight}" />
|
||||
<TextBlock
|
||||
Foreground="{DynamicResource SemiRed6}"
|
||||
IsVisible="{TemplateBinding IsRequired}"
|
||||
@@ -77,7 +77,7 @@
|
||||
Margin="8,8,8,0"
|
||||
HorizontalAlignment="{TemplateBinding LabelAlignment}"
|
||||
Orientation="Horizontal">
|
||||
<ContentPresenter Content="{TemplateBinding Label}" FontWeight="Bold" />
|
||||
<ContentPresenter Content="{TemplateBinding Label}" FontWeight="{DynamicResource TextBlockTitleFontWeight}" />
|
||||
<TextBlock
|
||||
Foreground="{DynamicResource SemiRed6}"
|
||||
IsVisible="{TemplateBinding IsRequired}"
|
||||
|
||||
Reference in New Issue
Block a user