mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
961fb39f9a
* Added persistent filters on exit * settings to disable the persistent filters * fixed a bug related to game comboBox and OnlyInstalled ( the comboBox is now disabled if OnlyInstalled is checked)
66 lines
2.9 KiB
XML
66 lines
2.9 KiB
XML
<rxui:ReactiveUserControl
|
|
x:Class="Wabbajack.ModlistGallerySettingsView"
|
|
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:FiltersSettings"
|
|
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="Modlist Gallery" />
|
|
<Grid
|
|
Grid.Row="2"
|
|
Grid.Column="0"
|
|
Grid.ColumnSpan="3">
|
|
<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 Name="FilterPersistCheckBox" Content="Filters are saved on exit" HorizontalAlignment="Left" Margin="0,5,0,0" VerticalAlignment="Top">
|
|
<CheckBox.LayoutTransform>
|
|
<ScaleTransform ScaleX="1.2" ScaleY="1.2" />
|
|
</CheckBox.LayoutTransform>
|
|
</CheckBox>
|
|
</Grid>
|
|
</Grid>
|
|
</Border>
|
|
</rxui:ReactiveUserControl>
|