NavigationView's default collapsed pane with is 40px. When you maximize your UWP app, here's how the collapsed pane aligns with the start menu:
I performed 3 changes to the style and the constants used by the navigation view to change this to 48px, and now it lines up well with the start button.
Note that changing the CollapsedPaneLength property is not a complete solution to this problem because the icons and the hamburger menu do not expand to use the new width.
Anyway, is there a reason 40px was selected? If it was an arbitrary decision, what's the possibility of changing this to 48px?
No, they shouldn't need to be made aligned. 40px
is the standard size of buttons used on the NavigationView
and works well with both touch and mouse. On the Start Menu, the Start button is wider than the rest of the app icons which I believe are also 40px
wide.
Note you could make all the buttons on the Start Menu smaller too. They are just not meant to be aligned with your app's side navigation control.
The NavigationView's pane shouldn't align with the Start Menu for many reasons, including the ones explained by Justin but I would add:
_Hard to see where is the limit between the content (the app) and the host (the OS)_
It should line up.
You can't have consistency without being consistent.
With that being said, it would be easier for the Shell team to make the start menu and buttons 40px.
It should line up.
You can't have consistency without being consistent.With that being said, it would be easier for the Shell team to make the start menu and buttons 40px.
10X doesn't have the start button on the left by default, and not every app runs in full screen - so this is one of those areas where alignment only matters in a small case, but has lots of consequences.
Not only that, Windows10X doesn't have the same type of Start Menu. The issue probably won't come up.
@YuliKl can you route this issue to the appropriate folks ?
I appreciate the discussion. I wasn't proposing anything official. I was mostly wondering about the design decision. Closing ticket.
@dpaulino, NavigationView's design is not expected to align perfectly with Windows 10 Start button, for the reasons @JustinXinLiu, @rudyhuyn and @mdtauk described. I want to add that several releases back we had tightened up NavigationView's UX to address feedback that the 48px widths felt insufficiently dense.
Most helpful comment
No, they shouldn't need to be made aligned.
40px
is the standard size of buttons used on theNavigationView
and works well with both touch and mouse. On the Start Menu, the Start button is wider than the rest of the app icons which I believe are also40px
wide.Note you could make all the buttons on the Start Menu smaller too. They are just not meant to be aligned with your app's side navigation control.