Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menus that received the visual update are inconsistent #4383

Closed
ghost opened this issue Mar 1, 2021 · 3 comments
Closed

Menus that received the visual update are inconsistent #4383

ghost opened this issue Mar 1, 2021 · 3 comments
Labels
area-UIDesign UI Design, styling discussion General discussion team-Controls Issue for the Controls team

Comments

@ghost
Copy link

ghost commented Mar 1, 2021

Some controls with similar menus received the new visual update, but results are sligthly inconsistent. I made a table with the differences I found:

Vertical menus

Control Item height Menu padding Padding between items Remarks
CommandBar.SecondaryCommands 32 4 0
CommandBarFlyout 40 3 0
MenuFlyoutItem, MenuFlyoutSubItem 35 4 6 The hitbox extends 1px outside the hover visual
RadioMenuFlyoutItem 35 3 5
ToggleMenuFlyoutItem 35 3 4
NavigationView 36 * Left/Compact mode: 4

* Hierarchical menu:
- left & right: 4,
- top & bottom: 10
4 Overflow/Hierarchical menus have the old style in Top mode
ComboBox 33 - left & right: 5,
- top & bottom: 6
4

Horizontal menus

Control Menu height Item height Menu padding Padding between items
NavigationView Top mode 48 47 0 0
MenuBar 40 40 0 0
CommandBar 48 30 9 0

Current as of v2.6.0-prerelease.210315002

Edit: added horizontal menus

@ghost ghost added discussion General discussion needs-triage Issue needs to be triaged by the area owners labels Mar 1, 2021
@mdtauk
Copy link
Contributor

mdtauk commented Mar 1, 2021

I would suggest that someone should be assigned to audit all menu flyout controls to ensure consistency is attained, and maintained during the Visual Refresh process.

@StephenLPeters StephenLPeters added area-UIDesign UI Design, styling team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Mar 3, 2021
@StephenLPeters
Copy link
Contributor

@gabrielconl Thanks for bringing these up! we are aware that there are some things which still need polish, this work is very much still in progress. We can report back when we think we are done, if you'd be willing to give it another close look :)

@ghost
Copy link

ghost commented Jun 26, 2021

Vertical menus

I suggest having the vertical menu items be 32px tall. It's the standard height for controls, with the compact height being 24px.

It could also be used for Left NavigationView. Currently items are 36px tall, but at the cost of 4px all vertical menus could be made consistent.

Horizontal menus:

Control \ Property Menu height Item height Spacing
MenuBar 40 32 8,4
TabView 40 32 -
Top NavigationView 48 48 0
CommandBar 48 36 6
InkToolbar 44 36 4
Proposed for all 40 32 4 (except for TabView)

Current vs Proposed:
current
proposed

The horizontal menus would look much better with the same height if they were used together, or when having multiple apps side by side. They would also be consistent with the vertical menus this way.

Top NavigationView items could have a visible backplate:
top_navview

@ghost ghost removed the working on it label Jul 3, 2021
@microsoft microsoft locked and limited conversation to collaborators Jul 22, 2022
@ranjeshj ranjeshj converted this issue into discussion #7470 Jul 22, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
area-UIDesign UI Design, styling discussion General discussion team-Controls Issue for the Controls team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants