mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
da4865dc7e
Was too dangerous to have next to minimize
90 lines
3.9 KiB
XML
90 lines
3.9 KiB
XML
<rxui:ReactiveUserControl
|
|
x:Class="Wabbajack.MiscSettingsView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:Wabbajack"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:rxui="http://reactiveui.net"
|
|
xmlns:xwpf="http://schemas.xceed.com/wpf/xaml/toolkit"
|
|
d:DesignHeight="450"
|
|
d:DesignWidth="800"
|
|
x:TypeArguments="local:SettingsVM"
|
|
mc:Ignorable="d">
|
|
<Border
|
|
x:Name="PerformanceView"
|
|
MinWidth="280"
|
|
Margin="5"
|
|
Background="{StaticResource BackgroundBrush}"
|
|
BorderBrush="{StaticResource ButtonNormalBorder}"
|
|
BorderThickness="1">
|
|
<Grid Margin="15,10">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="10" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="25" />
|
|
<RowDefinition Height="25" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="5" />
|
|
<ColumnDefinition Width="*" />
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock Grid.Column="0" Grid.ColumnSpan="2"
|
|
FontFamily="Lucida Sans"
|
|
FontSize="20"
|
|
FontWeight="Bold"
|
|
Text="Misc Settings" />
|
|
<Grid Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
<RowDefinition />
|
|
</Grid.RowDefinitions>
|
|
<Grid.Resources>
|
|
<Style BasedOn="{StaticResource MainButtonStyle}" TargetType="Button">
|
|
<Style.Triggers>
|
|
<Trigger Property="IsEnabled" Value="false">
|
|
<Setter Property="Foreground" Value="{StaticResource ForegroundBrush}" />
|
|
<Setter Property="Background" Value="{StaticResource SecondaryBackgroundBrush}" />
|
|
<Setter Property="BorderBrush" Value="{StaticResource DarkSecondaryBrush}" />
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
</Grid.Resources>
|
|
<CheckBox Grid.Row="0"
|
|
Name="FilterPersistCheckBox"
|
|
Margin="0,5,0,0"
|
|
HorizontalAlignment="Left"
|
|
VerticalAlignment="Top"
|
|
Content="Gallery filters are saved on exit">
|
|
<CheckBox.LayoutTransform>
|
|
<ScaleTransform ScaleX="1.2" ScaleY="1.2" />
|
|
</CheckBox.LayoutTransform>
|
|
</CheckBox>
|
|
<CheckBox Grid.Row="1"
|
|
Name="UseCompressionCheckBox"
|
|
Margin="0,5,0,0"
|
|
HorizontalAlignment="Left"
|
|
VerticalAlignment="Top"
|
|
Content="Use NTFS LZS compression during install">
|
|
<CheckBox.LayoutTransform>
|
|
<ScaleTransform ScaleX="1.2" ScaleY="1.2" />
|
|
</CheckBox.LayoutTransform>
|
|
</CheckBox>
|
|
<Button Grid.Row="2"
|
|
Name="ClearCefCache"
|
|
Margin="0,5,0,0"
|
|
Content="Clear In-App Browser Cache" />
|
|
<Button Grid.Row="3"
|
|
Name="OpenTerminal"
|
|
Margin="0,5,0,0"
|
|
Content="Open Terminal and Close WJ" />
|
|
</Grid>
|
|
</Grid>
|
|
</Border>
|
|
</rxui:ReactiveUserControl>
|