diff --git a/Wabbajack/App.xaml b/Wabbajack/App.xaml index 17c85ac3..0c70ed88 100644 --- a/Wabbajack/App.xaml +++ b/Wabbajack/App.xaml @@ -12,6 +12,7 @@ + diff --git a/Wabbajack/Themes/CustomControls.xaml b/Wabbajack/Themes/CustomControls.xaml new file mode 100644 index 00000000..1ba0c9d0 --- /dev/null +++ b/Wabbajack/Themes/CustomControls.xaml @@ -0,0 +1,118 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Wabbajack/Views/Common/AttentionBorder.xaml.cs b/Wabbajack/Views/Common/AttentionBorder.cs similarity index 65% rename from Wabbajack/Views/Common/AttentionBorder.xaml.cs rename to Wabbajack/Views/Common/AttentionBorder.cs index c43909ab..5cfdb343 100644 --- a/Wabbajack/Views/Common/AttentionBorder.xaml.cs +++ b/Wabbajack/Views/Common/AttentionBorder.cs @@ -20,14 +20,6 @@ namespace Wabbajack /// public partial class AttentionBorder : UserControl { - public object DisplayContent - { - get => (object)GetValue(DisplayContentProperty); - set => SetValue(DisplayContentProperty, value); - } - public static readonly DependencyProperty DisplayContentProperty = DependencyProperty.Register(nameof(DisplayContent), typeof(object), typeof(AttentionBorder), - new FrameworkPropertyMetadata(default(object))); - public bool Failure { get => (bool)GetValue(FailureProperty); @@ -35,10 +27,5 @@ namespace Wabbajack } public static readonly DependencyProperty FailureProperty = DependencyProperty.Register(nameof(Failure), typeof(bool), typeof(AttentionBorder), new FrameworkPropertyMetadata(default(bool))); - - public AttentionBorder() - { - InitializeComponent(); - } } } diff --git a/Wabbajack/Views/Common/AttentionBorder.xaml b/Wabbajack/Views/Common/AttentionBorder.xaml deleted file mode 100644 index b1ba1137..00000000 --- a/Wabbajack/Views/Common/AttentionBorder.xaml +++ /dev/null @@ -1,116 +0,0 @@ - - - - - - - - diff --git a/Wabbajack/Views/Compilers/CompilationCompleteView.xaml b/Wabbajack/Views/Compilers/CompilationCompleteView.xaml index 3c69841f..947c5bd9 100644 --- a/Wabbajack/Views/Compilers/CompilationCompleteView.xaml +++ b/Wabbajack/Views/Compilers/CompilationCompleteView.xaml @@ -10,102 +10,101 @@ d:DesignWidth="800" mc:Ignorable="d"> - - + + + + + + + + + + + + + + + + + + + - - + + - - - - - - + + + - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + - + diff --git a/Wabbajack/Views/Compilers/CompilerView.xaml b/Wabbajack/Views/Compilers/CompilerView.xaml index 131801f0..821b1ccf 100644 --- a/Wabbajack/Views/Compilers/CompilerView.xaml +++ b/Wabbajack/Views/Compilers/CompilerView.xaml @@ -299,13 +299,11 @@ + ViewModel="{Binding}" /> - - - - - + + + diff --git a/Wabbajack/Views/Installers/InstallationCompleteView.xaml b/Wabbajack/Views/Installers/InstallationCompleteView.xaml index 26edba90..32d1e61c 100644 --- a/Wabbajack/Views/Installers/InstallationCompleteView.xaml +++ b/Wabbajack/Views/Installers/InstallationCompleteView.xaml @@ -10,146 +10,144 @@ d:DesignWidth="800" mc:Ignorable="d"> - - + + + + + + + + + + + + + + + + + + + + - - + + - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + Text="Main Menu" /> - + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Wabbajack/Views/Installers/InstallationView.xaml b/Wabbajack/Views/Installers/InstallationView.xaml index f3f11ee4..7616daa3 100644 --- a/Wabbajack/Views/Installers/InstallationView.xaml +++ b/Wabbajack/Views/Installers/InstallationView.xaml @@ -430,12 +430,10 @@ ViewModel="{Binding}" Visibility="{Binding ActiveGlobalUserIntervention, Converter={StaticResource IsNotNullVisibilityConverter}, ConverterParameter=False}" /> - - - - - - + + + + diff --git a/Wabbajack/Wabbajack.csproj b/Wabbajack/Wabbajack.csproj index bec54fb2..d20916db 100644 --- a/Wabbajack/Wabbajack.csproj +++ b/Wabbajack/Wabbajack.csproj @@ -174,6 +174,7 @@ + ModListTileView.xaml @@ -202,9 +203,6 @@ SettingsView.xaml - - AttentionBorder.xaml - UnderMaintenanceOverlay.xaml @@ -308,6 +306,10 @@ WebBrowserView.xaml + + Designer + MSBuild:Compile + Designer MSBuild:Compile @@ -329,10 +331,6 @@ Designer MSBuild:Compile - - Designer - MSBuild:Compile - Designer MSBuild:Compile