mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
e388c018dc
The exit animations on errors were not firing if the datacontext was what changed. Adding a middleman property fixed the issue. Probably a bit hacky
76 lines
2.7 KiB
XML
76 lines
2.7 KiB
XML
<UserControl
|
|
x:Class="Wabbajack.MO2CompilerConfigView"
|
|
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"
|
|
d:DataContext="{d:DesignInstance local:MO2CompilerVM}"
|
|
d:DesignHeight="450"
|
|
d:DesignWidth="800"
|
|
mc:Ignorable="d">
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="20" />
|
|
<ColumnDefinition Width="*" />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="40" />
|
|
<RowDefinition Height="40" />
|
|
<RowDefinition Height="40" />
|
|
</Grid.RowDefinitions>
|
|
<TextBlock
|
|
Grid.Row="0"
|
|
Grid.Column="0"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Center"
|
|
FontSize="14"
|
|
Text="Modlist Location"
|
|
TextAlignment="Center"
|
|
ToolTip="The MO2 modlist.txt file you want to use as your source" />
|
|
<local:FilePicker
|
|
Grid.Row="0"
|
|
Grid.Column="2"
|
|
Height="30"
|
|
VerticalAlignment="Center"
|
|
PickerVM="{Binding ModListLocation}"
|
|
FontSize="14"
|
|
ToolTip="The MO2 modlist.txt file you want to use as your source" />
|
|
<TextBlock
|
|
Grid.Row="1"
|
|
Grid.Column="0"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Center"
|
|
FontSize="14"
|
|
Text="Download Location"
|
|
TextAlignment="Center"
|
|
ToolTip="The folder where MO2 downloads your mods." />
|
|
<local:FilePicker
|
|
Grid.Row="1"
|
|
Grid.Column="2"
|
|
Height="30"
|
|
VerticalAlignment="Center"
|
|
PickerVM="{Binding DownloadLocation}"
|
|
FontSize="14"
|
|
ToolTip="The folder where MO2 downloads your mods." />
|
|
<TextBlock
|
|
Grid.Row="2"
|
|
Grid.Column="0"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Center"
|
|
FontSize="14"
|
|
Text="Output Location"
|
|
TextAlignment="Center"
|
|
ToolTip="The folder to place the resulting modlist.wabbajack file" />
|
|
<local:FilePicker
|
|
Grid.Row="2"
|
|
Grid.Column="2"
|
|
Height="30"
|
|
VerticalAlignment="Center"
|
|
PickerVM="{Binding Parent.OutputLocation}"
|
|
FontSize="14"
|
|
ToolTip="The folder to place the resulting modlist.wabbajack file" />
|
|
</Grid>
|
|
</UserControl>
|