From b9656896d7b08c6cf7a7797d60a168a41468c792 Mon Sep 17 00:00:00 2001
From: trawzified <55751269+tr4wzified@users.noreply.github.com>
Date: Fri, 29 Dec 2023 01:21:08 +0100
Subject: [PATCH] Show 3 tiles next to each other by default, styling tweakings
---
Wabbajack.App.Wpf/Themes/Styles.xaml | 26 +++++++++----------
.../ViewModels/Gallery/ModListGalleryVM.cs | 1 -
Wabbajack.App.Wpf/Views/MainWindow.xaml | 2 +-
.../Views/ModListGalleryView.xaml | 16 +++++-------
Wabbajack.App.Wpf/Views/ModListTileView.xaml | 6 ++---
5 files changed, 24 insertions(+), 27 deletions(-)
diff --git a/Wabbajack.App.Wpf/Themes/Styles.xaml b/Wabbajack.App.Wpf/Themes/Styles.xaml
index 03dc6f79..8052de5c 100644
--- a/Wabbajack.App.Wpf/Themes/Styles.xaml
+++ b/Wabbajack.App.Wpf/Themes/Styles.xaml
@@ -152,7 +152,7 @@
-
+
@@ -453,22 +453,22 @@
+ x:Name="Bg"
+ Background="{TemplateBinding Background}"
+ SnapsToDevicePixels="true">
+ Command="{x:Static ScrollBar.LineUpCommand}"
+ IsEnabled="{TemplateBinding IsMouseOver}"
+ Style="{StaticResource RepeatButtonUpStyle}" />
+ Command="{x:Static ScrollBar.LineDownCommand}"
+ IsEnabled="{TemplateBinding IsMouseOver}"
+ Style="{DynamicResource RepeatButtonDownStyle}" />
diff --git a/Wabbajack.App.Wpf/ViewModels/Gallery/ModListGalleryVM.cs b/Wabbajack.App.Wpf/ViewModels/Gallery/ModListGalleryVM.cs
index a9336974..bd4821fb 100644
--- a/Wabbajack.App.Wpf/ViewModels/Gallery/ModListGalleryVM.cs
+++ b/Wabbajack.App.Wpf/ViewModels/Gallery/ModListGalleryVM.cs
@@ -184,7 +184,6 @@ namespace Wabbajack
.Filter(showNSFWFilter)
.Filter(gameFilter)
.Sort(searchSorter)
- .Sort(SortExpressionComparer.Descending(modlist => !modlist.IsBroken))
.TreatMovesAsRemoveAdd()
.Bind(out _filteredModLists)
.Subscribe((_) =>
diff --git a/Wabbajack.App.Wpf/Views/MainWindow.xaml b/Wabbajack.App.Wpf/Views/MainWindow.xaml
index b1f7bd43..26b27b92 100644
--- a/Wabbajack.App.Wpf/Views/MainWindow.xaml
+++ b/Wabbajack.App.Wpf/Views/MainWindow.xaml
@@ -64,7 +64,7 @@
-
+
diff --git a/Wabbajack.App.Wpf/Views/ModListGalleryView.xaml b/Wabbajack.App.Wpf/Views/ModListGalleryView.xaml
index 8a90c7a6..f1546e02 100644
--- a/Wabbajack.App.Wpf/Views/ModListGalleryView.xaml
+++ b/Wabbajack.App.Wpf/Views/ModListGalleryView.xaml
@@ -22,7 +22,7 @@
-
+
@@ -149,10 +147,10 @@
Foreground="{StaticResource ForegroundBrush}"
ToolTip="Show modlists from external repositories">
-
+
-
+
@@ -167,10 +165,10 @@
Foreground="{StaticResource ForegroundBrush}"
ToolTip="Only show Not Safe For Work (NSFW) modlists">
-
+
-
+
@@ -184,10 +182,10 @@
Foreground="{StaticResource ForegroundBrush}"
ToolTip="Show only modlists for games you have installed on your PC">
-
+
-
+