2020-05-10 04:35:39 +00:00
|
|
|
<rxui:ReactiveUserControl
|
2020-08-08 12:48:04 +00:00
|
|
|
x:Class="Wabbajack.MiscSettingsView"
|
2020-05-10 04:35:39 +00:00
|
|
|
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"
|
2020-08-08 13:08:24 +00:00
|
|
|
x:TypeArguments="local:SettingsVM"
|
2020-05-10 04:35:39 +00:00
|
|
|
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>
|
2020-07-25 22:15:26 +00:00
|
|
|
<TextBlock Grid.Column="0" Grid.ColumnSpan="2"
|
2020-05-10 04:35:39 +00:00
|
|
|
FontFamily="Lucida Sans"
|
|
|
|
FontSize="20"
|
|
|
|
FontWeight="Bold"
|
2020-05-29 22:51:41 +00:00
|
|
|
Text="Misc Settings" />
|
2020-07-25 22:15:26 +00:00
|
|
|
<Grid Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="3">
|
2020-05-29 22:51:41 +00:00
|
|
|
<Grid.RowDefinitions>
|
2020-07-25 22:15:26 +00:00
|
|
|
<RowDefinition />
|
|
|
|
<RowDefinition />
|
2020-08-05 22:01:45 +00:00
|
|
|
<RowDefinition />
|
2020-08-08 13:08:24 +00:00
|
|
|
<RowDefinition />
|
2020-05-29 22:51:41 +00:00
|
|
|
</Grid.RowDefinitions>
|
2020-05-10 04:35:39 +00:00
|
|
|
<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>
|
2020-07-25 22:15:26 +00:00
|
|
|
<CheckBox Grid.Row="0"
|
2020-08-08 13:08:24 +00:00
|
|
|
Name="FilterPersistCheckBox"
|
|
|
|
Margin="0,5,0,0"
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
VerticalAlignment="Top"
|
|
|
|
Content="Gallery filters are saved on exit">
|
2020-08-05 22:01:45 +00:00
|
|
|
<CheckBox.LayoutTransform>
|
|
|
|
<ScaleTransform ScaleX="1.2" ScaleY="1.2" />
|
|
|
|
</CheckBox.LayoutTransform>
|
|
|
|
</CheckBox>
|
|
|
|
<CheckBox Grid.Row="1"
|
2020-08-08 13:08:24 +00:00
|
|
|
Name="UseCompressionCheckBox"
|
|
|
|
Margin="0,5,0,0"
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
VerticalAlignment="Top"
|
|
|
|
Content="Use NTFS LZS compression during install">
|
2020-05-10 04:35:39 +00:00
|
|
|
<CheckBox.LayoutTransform>
|
|
|
|
<ScaleTransform ScaleX="1.2" ScaleY="1.2" />
|
|
|
|
</CheckBox.LayoutTransform>
|
|
|
|
</CheckBox>
|
2020-08-05 22:01:45 +00:00
|
|
|
<Button Grid.Row="2"
|
2020-07-25 22:15:26 +00:00
|
|
|
Name="ClearCefCache"
|
|
|
|
Margin="0,5,0,0"
|
|
|
|
Content="Clear In-App Browser Cache" />
|
2020-08-08 13:08:24 +00:00
|
|
|
<Button Grid.Row="3"
|
|
|
|
Name="OpenTerminal"
|
|
|
|
Margin="0,5,0,0"
|
|
|
|
Content="Open Terminal and Close WJ" />
|
2020-05-10 04:35:39 +00:00
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
|
|
|
</rxui:ReactiveUserControl>
|