e851c61777
Remove the setting for enabling/disabling the dialog that shows up to confirm the closing of all tabs in the SUI Closes #8757
76 lines
3.9 KiB
XML
76 lines
3.9 KiB
XML
<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under
|
|
the MIT License. See LICENSE in the project root for license information. -->
|
|
<Page
|
|
x:Class="Microsoft.Terminal.Settings.Editor.GlobalAppearance"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:local="using:Microsoft.Terminal.Settings.Editor"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
|
|
mc:Ignorable="d">
|
|
|
|
<Page.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="CommonResources.xaml"/>
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
<DataTemplate x:DataType="local:EnumEntry" x:Key="EnumRadioButtonTemplate">
|
|
<RadioButton Content="{x:Bind EnumName, Mode=OneWay}"
|
|
Style="{StaticResource RadioButtonSettingStyle}"/>
|
|
</DataTemplate>
|
|
</ResourceDictionary>
|
|
</Page.Resources>
|
|
|
|
<ScrollViewer>
|
|
<StackPanel Style="{StaticResource SettingsStackStyle}">
|
|
<!--Theme-->
|
|
<ContentPresenter Style="{StaticResource SettingContainerStyle}">
|
|
<muxc:RadioButtons x:Uid="Globals_Theme"
|
|
SelectedItem="{x:Bind CurrentTheme, Mode=TwoWay}"
|
|
ItemsSource="{x:Bind ThemeList, Mode=OneWay}"
|
|
ItemTemplate="{StaticResource EnumRadioButtonTemplate}"
|
|
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"
|
|
IsChecked="{x:Bind State.Globals.ShowTabsInTitlebar, Mode=TwoWay}"
|
|
Style="{StaticResource CheckBoxSettingStyle}"/>
|
|
</ContentPresenter>
|
|
|
|
<!--Show Title in Titlebar-->
|
|
<ContentPresenter Style="{StaticResource SettingContainerStyle}">
|
|
<CheckBox x:Uid="Globals_ShowTitleInTitlebar"
|
|
IsChecked="{x:Bind State.Globals.ShowTitleInTitlebar, Mode=TwoWay}"
|
|
Style="{StaticResource CheckBoxSettingStyle}"/>
|
|
</ContentPresenter>
|
|
|
|
<!--Tab Width Mode-->
|
|
<ContentPresenter Style="{StaticResource SettingContainerStyle}">
|
|
<muxc:RadioButtons x:Uid="Globals_TabWidthMode"
|
|
SelectedItem="{x:Bind CurrentTabWidthMode, Mode=TwoWay}"
|
|
ItemsSource="{x:Bind TabWidthModeList, Mode=OneWay}"
|
|
ItemTemplate="{StaticResource EnumRadioButtonTemplate}"
|
|
Style="{StaticResource RadioButtonsSettingStyle}"/>
|
|
</ContentPresenter>
|
|
|
|
<!--Disable Animations-->
|
|
<ContentPresenter Style="{StaticResource SettingContainerStyle}">
|
|
<CheckBox x:Uid="Globals_DisableAnimations"
|
|
IsChecked="{x:Bind State.Globals.DisableAnimations, Mode=TwoWay}"
|
|
Style="{StaticResource CheckBoxSettingStyle}"/>
|
|
</ContentPresenter>
|
|
</StackPanel>
|
|
</ScrollViewer>
|
|
</Page>
|