Open vgromfeld opened 4 weeks ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Describe the bug
When text scaling is on, the
CommandBar
control is always displaying its "see more" button whereas there is no content in the overflow menu.Steps to reproduce the bug
Add the following XAML to an UWP application:
From Windows' settings, set text scaling to 200%
Run the application
Ensure the app window is large enough to display all the buttons.
The "see more" button is visible whereas there is nothing in the overflow menu
Clicking on the button increases the command bar's height.
Expected behavior
The
CommandBar
control should keep the same behavior as when text scaling is disabled. The "see more" button should only be displayed when there are items in overflow or secondary commands.The same command bar with text scaling off:
Screenshots
No response
NuGet package version
WinUI 2 - Microsoft.UI.Xaml 2.8.2
Windows version
Windows 11 (22H2): Build 22621
Additional context
Could be related to #9299