Skip to content

Commit

Permalink
TitleBarPaneCompactMarginDefault set to 35 to prevent icon moving. (#…
Browse files Browse the repository at this point in the history
…1209)

Toggling the NavigationBar no longer makes the TitleBar title and icon jump around.

Co-authored-by: pomian <13592821+pomianowski@users.noreply.github.com>
  • Loading branch information
AncientGrief and pomianowski authored Feb 1, 2025
1 parent 18ce2b8 commit 4a32097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Wpf.Ui/Controls/NavigationView/NavigationView.Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public NavigationView()
private readonly ObservableCollection<NavigationViewBreadcrumbItem> _breadcrumbBarItems = [];

private static readonly Thickness TitleBarPaneOpenMarginDefault = new(35, 0, 0, 0);
private static readonly Thickness TitleBarPaneCompactMarginDefault = new(55, 0, 0, 0);
private static readonly Thickness TitleBarPaneCompactMarginDefault = new(35, 0, 0, 0);
private static readonly Thickness AutoSuggestBoxMarginDefault = new(8, 8, 8, 16);
private static readonly Thickness FrameMarginDefault = new(0, 50, 0, 0);

Expand Down

0 comments on commit 4a32097

Please sign in to comment.