Skip to content

Commit

Permalink
Improved: Empty State View (#2162)
Browse files Browse the repository at this point in the history
* Fixed: Make the icon in library successfully send you to mod page.

* Changed: Margin on Empty State reduced to allow better behaviour while shrinking.
  • Loading branch information
Sewer56 authored Oct 11, 2024
1 parent 05b1c4c commit 0e1cd76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/NexusMods.App.UI/Pages/LibraryPage/LibraryView.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ public LibraryView()
this.BindCommand(ViewModel, vm => vm.OpenNexusModsCommand, view => view.EmptyLibraryLinkButton)
.AddTo(disposables);
this.BindCommand(ViewModel, vm => vm.OpenNexusModsCommand, view => view.OpenLinkBareIconButton)
.AddTo(disposables);
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<Style Selector="^ StackPanel#Panel">
<Setter Property="Orientation" Value="Vertical"/>
<Setter Property="Margin" Value="128 64 128 0"/>
<Setter Property="Margin" Value="16 64 16 0"/>
<Setter Property="Spacing" Value="{StaticResource Spacing-2}"/>
</Style>

Expand Down

0 comments on commit 0e1cd76

Please sign in to comment.