Skip to content

add border to icon - #1856

Merged
Niels Laute (niels9001) merged 9 commits into
microsoft:mainfrom
Jay-o-Way:background-for-icon
May 6, 2025
Merged

Niels Laute (niels9001) merged 9 commits into
microsoft:mainfrom
Jay-o-Way:background-for-icon

Conversation

@Jay-o-Way

@Jay-o-Way Jay (Jay-o-Way) commented Apr 27, 2025 •

Copy link
Copy Markdown
Contributor

Description

Adds a border and background to the larger icon in the SidePanel.

Closes #1854

Motivation and Context

Clarity. This shows how any "overlay icons" are placed inside the available area. May help finding the right icon.

Screenshots (if appropriate):

image image image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@niels9001 Niels Laute (niels9001) left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The tags are no longer showing up for me? Please revert those styling changes as they are not in scope for this issue and might introduce regressions with text scaling enabled.

image

Comment thread WinUIGallery/Samples/ControlPages/Design/IconographyPage.xaml Outdated
Comment thread WinUIGallery/Samples/ControlPages/Design/IconographyPage.xaml Outdated
Comment thread WinUIGallery/Samples/ControlPages/Design/IconographyPage.xaml
Comment thread WinUIGallery/Samples/ControlPages/Design/IconographyPage.xaml
Comment thread WinUIGallery/Samples/ControlPages/Design/IconographyPage.xaml Outdated
@Zakariathr22

Copy link
Copy Markdown
Contributor

Out of topic:
It's funny how simply wrapping a FontIcon inside a Border led us to all of this 😂

@niels9001
Niels Laute (niels9001) self-requested a review May 5, 2025 08:24

@niels9001 Niels Laute (niels9001) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Jay (@Jay-o-Way) Please add the rounded corners (and optional padding to overcome to corner issue) as proposed by the design team, then we can get this in.

Thanks!

@Jay-o-Way

Copy link
Copy Markdown
Contributor Author

Niels Laute (@niels9001) Why don't you just finish it for me. Since we can't seem to agree on anything. Just do it your way.

@niels9001
Niels Laute (niels9001) self-requested a review May 5, 2025 10:33
@niels9001
Niels Laute (niels9001) enabled auto-merge (squash) May 5, 2025 10:34

@Jay-o-Way Jay (Jay-o-Way) left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

nit

Comment thread WinUIGallery/Samples/ControlPages/Design/IconographyPage.xaml Outdated
@niels9001

Copy link
Copy Markdown
Collaborator

/azp run

@niels9001
Niels Laute (niels9001) merged commit ff3420b into microsoft:main May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants