Tweak style and add localization

This commit is contained in:
Vic 2023-03-20 20:41:53 +08:00
parent 4092ef83ea
commit 78a74b9904
2 changed files with 4 additions and 3 deletions

View file

@ -43,6 +43,7 @@
<system:String x:Key="SearchWindowScreenFocus">Monitor with Focused Window</system:String>
<system:String x:Key="SearchWindowScreenPrimary">Primary Monitor</system:String>
<system:String x:Key="SearchWindowScreenCustom">Custom Monitor</system:String>
<system:String x:Key="SearchWindowAlign">Search Window Position on Monitor</system:String>
<system:String x:Key="SearchWindowAlignCenter">Center</system:String>
<system:String x:Key="SearchWindowAlignCenterTop">Center Top</system:String>
<system:String x:Key="SearchWindowAlignLeftTop">Left Top</system:String>

View file

@ -774,7 +774,7 @@
<ItemsControl Style="{StaticResource SettingGrid}">
<StackPanel Style="{StaticResource TextPanel}">
<TextBlock Style="{DynamicResource SettingTitleLabel}" Text="Search Window position on selected screen" />
<TextBlock Style="{DynamicResource SettingTitleLabel}" Text="{DynamicResource SearchWindowAlign}" />
</StackPanel>
<StackPanel Grid.Column="2" Orientation="Horizontal">
<ComboBox
@ -801,7 +801,7 @@
</StackPanel.Style>
<TextBox
Height="35"
MinWidth="120"
MinWidth="80"
Text="{Binding Settings.CustomWindowLeft}"
TextWrapping="NoWrap" />
<TextBlock
@ -811,7 +811,7 @@
Text="x" />
<TextBox
Height="35"
MinWidth="120"
MinWidth="80"
Text="{Binding Settings.CustomWindowTop}"
TextWrapping="NoWrap" />
</StackPanel>