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
[Registry Preview] Fixes in for the command bar in XAML #25266
Conversation
Change the toolbar to have a color, rather than transparent Added radial corners to the textbox and gridview.
Changing short cuts for Save and Save As
A wise engineer once said "save the file, fool, before committing it to the repro."
Why is |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couple of things please :)
@@ -209,6 +226,7 @@ | |||
Grid.RowSpan="2" | |||
Grid.Column="2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RowSpan="2" should be oblsolete now, am I right?
BorderBrush="Transparent" | ||
BorderThickness="0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why declare these in the first place? :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
x
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Referenced problems for that PR seems to be fixed, but changes @Jay-o-Way proposed also make sense. So I believe we can merge it but open an issue with those comments, so they don't get lost later.
@SeraphimaZykova Going to merge this in to avoid conflicts, will address the mentioned comments with a PR to fix: #25406 |
) * Update MainWindow.xaml Change the toolbar to have a color, rather than transparent Added radial corners to the textbox and gridview. * Update MainWindow.xaml Changing short cuts for Save and Save As * Update MainWindow.xaml A wise engineer once said "save the file, fool, before committing it to the repro." * Moved to FontIcons
Summary of the Pull Request
XAML fixes for the transparency on the command bar and unified radial corners.
Changes shortcuts for Save and Save As buttons.
Moved to FontIcon for icon which should work on systems that don't have the specific Symbol font. Also picks up support for the original icon that was required for Edit 😄
PR Checklist
Detailed Description of the Pull Request / Additional comments
Changed the background property for the command bar from transparent to one of the theme brushes, so that the overflow from the ... button had an opaque background.
Also added radial corner settings to the TextBox and the DataGrid, to match the rest of the UX, changed the keyboard accelerators for Save and Save As to be more "normal" and updated the method used to show an icon.
Validation Steps Performed
Ran the window several times in different sizes as well as in light and dark theme modes.