Polish Global settings a bit (#8783)

Polish for global settings in SUI

- Launch size can no longer be negative
- Reorder appearance options

## PR Checklist
* [x] Closes #8766
This commit is contained in:
PankajBhojwani 2021-01-13 17:34:43 -08:00 committed by GitHub
parent 5f590a5efa
commit f8ccf64252
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View file

@ -34,6 +34,13 @@ the MIT License. See LICENSE in the project root for license information. -->
Style="{StaticResource RadioButtonsSettingStyle}"/>
</ContentPresenter>
<!--Always show tabs-->
<ContentPresenter Style="{StaticResource SettingContainerStyle}">
<CheckBox x:Uid="Globals_AlwaysShowTabs"
IsChecked="{x:Bind State.Globals.AlwaysShowTabs, Mode=TwoWay}"
Style="{StaticResource CheckBoxSettingStyle}"/>
</ContentPresenter>
<!--Show Titlebar-->
<ContentPresenter Style="{StaticResource SettingContainerStyle}">
<CheckBox x:Uid="Globals_ShowTitlebar"
@ -48,13 +55,6 @@ the MIT License. See LICENSE in the project root for license information. -->
Style="{StaticResource CheckBoxSettingStyle}"/>
</ContentPresenter>
<!--Always show tabs-->
<ContentPresenter Style="{StaticResource SettingContainerStyle}">
<CheckBox x:Uid="Globals_AlwaysShowTabs"
IsChecked="{x:Bind State.Globals.AlwaysShowTabs, Mode=TwoWay}"
Style="{StaticResource CheckBoxSettingStyle}"/>
</ContentPresenter>
<!--Tab Width Mode-->
<ContentPresenter Style="{StaticResource SettingContainerStyle}">
<muxc:RadioButtons x:Uid="Globals_TabWidthMode"

View file

@ -91,6 +91,7 @@ the MIT License. See LICENSE in the project root for license information. -->
<Style x:Key="LaunchSizeNumberBoxStyle" TargetType="muxc:NumberBox" BasedOn="{StaticResource NumberBoxSettingStyle}">
<Setter Property="SmallChange" Value="1"/>
<Setter Property="LargeChange" Value="10"/>
<Setter Property="Minimum" Value="1"/>
</Style>
</Grid.Resources>
<Grid.RowDefinitions>