Skip to content

Commit

Permalink
Tweaked Settings page expander layouts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Timthreetwelve committed Jul 1, 2024
1 parent 28e91dd commit 15201ae
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions WUView/Views/SettingsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@

<!--#region Application Settings-->
<Expander Grid.Row="2"
materialDesign:ExpanderAssist.HorizontalHeaderPadding="10"
IsExpanded="{Binding Setting.AppExpanderOpen,
Source={StaticResource tempconfig}}">
<Expander.Header>
Expand All @@ -77,7 +78,7 @@
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="5" />
<RowDefinition Height="auto" />
<RowDefinition Height="24" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="55" />
Expand All @@ -100,7 +101,7 @@
TextWrapping="Wrap" />
</Grid>
</Expander.Header>
<Grid Margin="30,10,0,20">
<Grid Margin="17,10">
<!--#region Row & Column definitions-->
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
Expand Down Expand Up @@ -252,6 +253,7 @@
<!--#region UI Settings-->
<Expander x:Name="UIExpander"
Grid.Row="4"
materialDesign:ExpanderAssist.HorizontalHeaderPadding="10"
IsExpanded="{Binding Setting.UIExpanderOpen,
Source={StaticResource tempconfig}}">
<Expander.Header>
Expand All @@ -260,7 +262,7 @@
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="5" />
<RowDefinition Height="auto" />
<RowDefinition Height="24" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="55" />
Expand All @@ -284,7 +286,7 @@
</Grid>
</Expander.Header>

<Grid Margin="30,10,0,20">
<Grid Margin="17,10">
<!--#region Row & Column definitions-->
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
Expand Down Expand Up @@ -405,6 +407,7 @@

<!--#region Language-->
<Expander x:Name="LangExpander"
materialDesign:ExpanderAssist.HorizontalHeaderPadding="10"
Grid.Row="6"
IsExpanded="{Binding Setting.LangExpanderOpen,
Source={StaticResource tempconfig}}">
Expand All @@ -414,7 +417,7 @@
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="5" />
<RowDefinition Height="auto" />
<RowDefinition Height="24" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="55" />
Expand All @@ -438,7 +441,7 @@
</Grid>
</Expander.Header>

<Grid Margin="30,10,0,20">
<Grid Margin="17,10">
<Grid.DataContext>
<models:UILanguage />
</Grid.DataContext>
Expand Down

0 comments on commit 15201ae

Please sign in to comment.