Show 3 tiles next to each other by default, styling tweakings

This commit is contained in:
trawzified 2023-12-29 01:21:08 +01:00
parent 8275c71e43
commit b9656896d7
5 changed files with 24 additions and 27 deletions

View File

@ -152,7 +152,7 @@
<SolidColorBrush x:Key="ScrollViewerBackground" Color="{StaticResource DarkBackgroundColor}" />
<SolidColorBrush x:Key="VerticalScrollBarBackground" Color="{StaticResource BackgroundColor}" />
<SolidColorBrush x:Key="HorizontalScrollBarBackground" Color="{StaticResource BackgroundColor}" />
<SolidColorBrush x:Key="VerticalScrollBarThumb" Color="#808080" />
<SolidColorBrush x:Key="VerticalScrollBarThumb" Color="{StaticResource Primary}" />
<SolidColorBrush x:Key="ScrollBarDisabledBackground" Color="{StaticResource BackgroundColor}" />
<SolidColorBrush x:Key="ScrollBarHotThumb" Color="#CCCCCC" />
<SolidColorBrush x:Key="ScrollBarSelectedThumb" Color="#E5E5E5" />

View File

@ -184,7 +184,6 @@ namespace Wabbajack
.Filter(showNSFWFilter)
.Filter(gameFilter)
.Sort(searchSorter)
.Sort(SortExpressionComparer<ModListMetadataVM>.Descending(modlist => !modlist.IsBroken))
.TreatMovesAsRemoveAdd()
.Bind(out _filteredModLists)
.Subscribe((_) =>

View File

@ -64,7 +64,7 @@
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<local:NavigationView Grid.Column="0" ViewModel="{Binding NavigationVM}" />
<Border Grid.Column="1" Margin="0" Background="{StaticResource ComplementaryBackgroundBrush}" x:Name="MainContent" Padding="28" CornerRadius="8">
<Border Grid.Column="1" Margin="0" Background="{StaticResource ComplementaryBackgroundBrush}" x:Name="MainContent" Padding="18" CornerRadius="8">
<ContentPresenter Content="{Binding ActivePane}" VerticalAlignment="Stretch">
<ContentPresenter.Resources>
<DataTemplate DataType="{x:Type local:CompilerVM}">

View File

@ -79,8 +79,6 @@
<Grid Grid.Row="0"
HorizontalAlignment="Left"
VerticalAlignment="Stretch"
MinWidth="256"
MaxWidth="480"
Height="Auto">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
@ -149,10 +147,10 @@
Foreground="{StaticResource ForegroundBrush}"
ToolTip="Show modlists from external repositories">
<CheckBox.LayoutTransform>
<ScaleTransform ScaleX="1.6" ScaleY="1.6"/>
<ScaleTransform ScaleX="1.4" ScaleY="1.4"/>
</CheckBox.LayoutTransform>
</CheckBox>
<TextBlock Grid.Column="1" Margin="5, 0, 0, 0" Text="Show unofficial modlists" FontSize="14" VerticalAlignment="Center" />
<TextBlock Grid.Column="1" Margin="3, 0, 0, 0" Text="Show unofficial modlists" FontSize="14" VerticalAlignment="Center" />
</Grid>
<Grid Grid.Row="3" Margin="0, 10, 0, 0">
@ -167,10 +165,10 @@
Foreground="{StaticResource ForegroundBrush}"
ToolTip="Only show Not Safe For Work (NSFW) modlists">
<CheckBox.LayoutTransform>
<ScaleTransform ScaleX="1.6" ScaleY="1.6"/>
<ScaleTransform ScaleX="1.4" ScaleY="1.4"/>
</CheckBox.LayoutTransform>
</CheckBox>
<TextBlock Grid.Column="1" Margin="5, 0, 0, 0" Text="Show only NSFW modlists" FontSize="14" VerticalAlignment="Center" />
<TextBlock Grid.Column="1" Margin="3, 0, 0, 0" Text="Show only NSFW modlists" FontSize="14" VerticalAlignment="Center" />
</Grid>
<Grid Grid.Row="4" Margin="0, 10, 0, 0">
@ -184,10 +182,10 @@
Foreground="{StaticResource ForegroundBrush}"
ToolTip="Show only modlists for games you have installed on your PC">
<CheckBox.LayoutTransform>
<ScaleTransform ScaleX="1.6" ScaleY="1.6"/>
<ScaleTransform ScaleX="1.4" ScaleY="1.4"/>
</CheckBox.LayoutTransform>
</CheckBox>
<TextBlock Grid.Column="1" Margin="5, 0, 0, 0" Text="Show only modlists for installed games" FontSize="14" VerticalAlignment="Center" />
<TextBlock Grid.Column="1" Margin="3, 0, 0, 0" Text="Show only modlists for installed games" FontSize="14" VerticalAlignment="Center" />
</Grid>
<Button

View File

@ -48,7 +48,7 @@
</UserControl.Resources>
<Border
x:Name="ModListTile"
Margin="8"
Margin="10, 0, 10, 16"
Background="Transparent"
CornerRadius="8"
BorderThickness="0">
@ -69,8 +69,8 @@
</Style>
</Border.Style>
<Grid
Width="327"
Height="184"
Width="300"
Height="169"
Background="Transparent">
<Grid ClipToBounds="True">
<mahapps:ProgressRing x:Name="LoadingProgress" />