style: use fixed tab title font size; NumericUpDown border

This commit is contained in:
leo 2024-03-22 12:18:03 +08:00
parent c247b03223
commit a992485d11
2 changed files with 3 additions and 0 deletions

View file

@ -173,6 +173,7 @@
IsHitTestVisible="False"/> IsHitTestVisible="False"/>
<TextBlock Grid.Column="1" <TextBlock Grid.Column="1"
Classes="monospace" Classes="monospace"
FontSize="12"
HorizontalAlignment="Stretch" VerticalAlignment="Center" HorizontalAlignment="Stretch" VerticalAlignment="Center"
TextAlignment="Center" TextAlignment="Center"
Text="{Binding Node.Name}" Text="{Binding Node.Name}"
@ -180,6 +181,7 @@
IsHitTestVisible="False"/> IsHitTestVisible="False"/>
<TextBlock Grid.Column="1" <TextBlock Grid.Column="1"
Classes="monospace" Classes="monospace"
FontSize="12"
HorizontalAlignment="Stretch" VerticalAlignment="Center" HorizontalAlignment="Stretch" VerticalAlignment="Center"
TextAlignment="Center" TextAlignment="Center"
Text="{DynamicResource Text.PageTabBar.Welcome.Title}" Text="{DynamicResource Text.PageTabBar.Welcome.Title}"

View file

@ -158,6 +158,7 @@
Minimum="10" Maximum="16" Increment="0.5" Minimum="10" Maximum="16" Increment="0.5"
Height="28" Height="28"
Padding="4" Padding="4"
BorderThickness="1" BorderBrush="{DynamicResource Brush.Border1}"
CornerRadius="3" CornerRadius="3"
Value="{Binding DefaultFontSize, Mode=TwoWay}"> Value="{Binding DefaultFontSize, Mode=TwoWay}">
<NumericUpDown.Styles> <NumericUpDown.Styles>