Skip to content

Commit

Permalink
Tweak UI size adaptation for multi-language text display
Browse files Browse the repository at this point in the history
  • Loading branch information
Nullkooland committed Mar 21, 2020
1 parent 68e5497 commit 7201121
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions GBCLV3/Views/Tabs/GameSettingsView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<ContentControl.Resources>
<Style TargetType="TextBlock" BasedOn="{StaticResource {x:Type TextBlock}}">
<Setter Property="Margin" Value="16,8,0,0" />
<Setter Property="Margin" Value="16,8,16,0" />
<Setter Property="HorizontalAlignment" Value="Left" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="FontSize" Value="14" />
Expand Down Expand Up @@ -63,7 +63,7 @@
</Grid.RowDefinitions>

<Grid.ColumnDefinitions>
<ColumnDefinition Width="172" />
<ColumnDefinition Width="Auto" MinWidth="160"/>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="32" />
<ColumnDefinition Width="*" />
Expand Down Expand Up @@ -152,7 +152,7 @@
</Grid.RowDefinitions>

<Grid.ColumnDefinitions>
<ColumnDefinition Width="172" />
<ColumnDefinition Width="Auto" MinWidth="160"/>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="8" />
</Grid.ColumnDefinitions>
Expand Down
2 changes: 1 addition & 1 deletion GBCLV3/Views/Tabs/LauncherSettingsView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</Grid.RowDefinitions>

<Grid.ColumnDefinitions>
<ColumnDefinition Width="172" />
<ColumnDefinition Width="Auto" MinWidth="160"/>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
Expand Down
6 changes: 3 additions & 3 deletions GBCLV3/Views/Windows/AccountEditView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
FontWeight="{Binding ThemeService.FontWeight, Mode=OneWay}"
Style="{StaticResource UniversalWindowStyle}"
Title="{Binding Type}"
Width="640" Height="288">
Width="660" Height="288">

<Window.Resources>
<Style x:Key="DescriptionBoxStyle" TargetType="TextBlock"
BasedOn="{StaticResource {x:Type TextBlock}}">
<Setter Property="Margin" Value="16,8,0,0" />
<Setter Property="Margin" Value="16,8,16,0" />
<Setter Property="HorizontalAlignment" Value="Left" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="FontSize" Value="14" />
Expand Down Expand Up @@ -94,7 +94,7 @@
</Grid.RowDefinitions>

<Grid.ColumnDefinitions>
<ColumnDefinition Width="160" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="160" />
</Grid.ColumnDefinitions>
Expand Down

0 comments on commit 7201121

Please sign in to comment.