mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Settings- Proxy tab use style setter for font size
This commit is contained in:
parent
0e64360a68
commit
3c119714a6
1 changed files with 10 additions and 5 deletions
|
|
@ -340,10 +340,15 @@
|
|||
</TabItem>
|
||||
<TabItem Header="{DynamicResource proxy}">
|
||||
<StackPanel Height="400" Margin="65,0">
|
||||
<CheckBox Margin="10" IsChecked="{Binding Settings.Proxy.Enabled}">
|
||||
<CheckBox Margin="15 10 10 10" IsChecked="{Binding Settings.Proxy.Enabled}">
|
||||
<TextBlock Text="{DynamicResource enableProxy}" FontSize="14" />
|
||||
</CheckBox>
|
||||
<Grid Margin="10" IsEnabled="{Binding Settings.Proxy.Enabled}">
|
||||
<Grid.Resources>
|
||||
<Style TargetType="{x:Type TextBlock}">
|
||||
<Setter Property="FontSize" Value="14" />
|
||||
</Style>
|
||||
</Grid.Resources>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
|
|
@ -354,14 +359,14 @@
|
|||
<ColumnDefinition Width="135" />
|
||||
<ColumnDefinition Width="200" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Text="{DynamicResource server}" Grid.Row="0" Grid.Column="0" Padding="5" FontSize="14" />
|
||||
<TextBlock Text="{DynamicResource server}" Grid.Row="0" Grid.Column="0" Padding="5" />
|
||||
<TextBox Text="{Binding Settings.Proxy.Server}" Grid.Row="0" Grid.Column="1" Padding="5" Margin="0 0 0 20" />
|
||||
<TextBlock Text="{DynamicResource port}" Grid.Row="0" Grid.Column="2" Padding="5" Margin ="40 0 0 0" FontSize="14" />
|
||||
<TextBlock Text="{DynamicResource port}" Grid.Row="0" Grid.Column="2" Padding="5" Margin ="40 0 0 0" />
|
||||
<TextBox Text="{Binding Settings.Proxy.Port, TargetNullValue={x:Static sys:String.Empty} }" Grid.Row="0"
|
||||
Grid.Column="3" Padding="5" Margin="0 0 0 20"/>
|
||||
<TextBlock Text="{DynamicResource userName}" Grid.Row="1" Grid.Column="0" Padding="5" FontSize="14" />
|
||||
<TextBlock Text="{DynamicResource userName}" Grid.Row="1" Grid.Column="0" Padding="5" />
|
||||
<TextBox Text="{Binding Settings.Proxy.UserName}" Grid.Row="1" Grid.Column="1" Padding="5" />
|
||||
<TextBlock Text="{DynamicResource password}" Grid.Row="1" Grid.Column="2" Padding="5" Margin ="40 0 0 0" FontSize="14" />
|
||||
<TextBlock Text="{DynamicResource password}" Grid.Row="1" Grid.Column="2" Padding="5" Margin ="40 0 0 0" />
|
||||
<TextBox Text="{Binding Settings.Proxy.Password}" Grid.Row="1" Grid.Column="3" Padding="5" />
|
||||
</Grid>
|
||||
<Button Content="{DynamicResource testProxy}" IsEnabled="{Binding Settings.Proxy.Enabled}"
|
||||
|
|
|
|||
Loading…
Reference in a new issue