Sitelet https://github.com/microsoft/devhome/pull/3243
Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Update title bar button styles to match the minimize/maximize/close buttons - #3243

Merged
Tim Kurtzman (timkur) merged 5 commits into
mainfrom
user/timkur/TitleBarButtons
Jun 17, 2024
Merged

Tim Kurtzman (timkur) merged 5 commits into
mainfrom
user/timkur/TitleBarButtons

Conversation

@timkur

Copy link
Copy Markdown
Contributor

Summary of the pull request

Updates the ChromeButton style to better match the minimize/maximize buttons

References and relevant issues

Detailed description of the pull request / Additional comments

Before

before

After

after

The background coloring is different compared to the minimize/maximize buttons, but I'm pretty sure the WindowCaptionButtonBackgroundPointerOver and WindowCaptionButtonBackgroundPressed are the values to use.

This also flattens the layout in the vertical bar a little more as well. I still went with the "chrome button" style in the vertical orientation, though I think it's valid to ask why those buttons look different than the other buttons in that layout.

Validation steps performed

PR checklist

  • Closes #xxx
  • Tests added/passed
  • Documentation updated

@krschau Kristen Schau (krschau) added this to the Dev Home 0.16 milestone Jun 17, 2024


<StackPanel x:Name="AllControls" Orientation="Vertical" Grid.Row="1" HorizontalAlignment="Center" Margin="0" Background="Transparent">
<StackPanel x:Name="AllControls" Orientation="Vertical" Grid.Row="0" HorizontalAlignment="Center" Margin="0" Background="Transparent" Spacing="5">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Grid.Row/Column=0 is the default, so explicitly setting it is redundant.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@timkur
Tim Kurtzman (timkur) merged commit f8ce113 into main Jun 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants