Skip to content

Commit

Permalink
perf: Optimize responsive layouts for preference view
Browse files Browse the repository at this point in the history
  • Loading branch information
ZGGSONG committed Mar 13, 2024
1 parent dfacad2 commit dc6e9d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/STranslate/Views/Preference/HistoryPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
<Border CornerRadius="5">
<Grid Margin="3">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="220" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" MaxWidth="300" />
<ColumnDefinition Width="2*" />
</Grid.ColumnDefinitions>

<Grid>
Expand Down
2 changes: 1 addition & 1 deletion src/STranslate/Views/Preference/ServicePage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</Grid.RowDefinitions>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*" />
<ColumnDefinition Width="2*" MaxWidth="300" />
<ColumnDefinition Width="3*" />
</Grid.ColumnDefinitions>

Expand Down
2 changes: 1 addition & 1 deletion src/STranslate/Views/Preference/TTSPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
</Grid.RowDefinitions>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*" />
<ColumnDefinition Width="2*" MaxWidth="300" />
<ColumnDefinition Width="3*" />
</Grid.ColumnDefinitions>

Expand Down

0 comments on commit dc6e9d8

Please sign in to comment.