Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Changing Width to MinWidth to fix clipping button content in Extensions page #2612

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

guimafelipe
Copy link
Contributor

@guimafelipe guimafelipe commented Apr 11, 2024

Summary of the pull request

Before

image

After

image

References and relevant issues

https://dev.azure.com/microsoft/OS/_workitems/edit/49656778

Detailed description of the pull request / Additional comments

Changed Width to MinWidth so the button's content don't get clipped when there is lack of space.

Validation steps performed

PR checklist

@guimafelipe guimafelipe merged commit 037291b into main Apr 12, 2024
@@ -74,7 +74,7 @@
<!-- This StackPanel is a workaround for the bug https://github.com/CommunityToolkit/Windows/issues/396 -->
<Button x:Uid="MoreOptionsButton"
Content="&#xe712;"
Height="36" Width="36"
Height="36" MinWidth="36"
Copy link
Contributor

@dhoehna dhoehna Apr 12, 2024

Choose a reason for hiding this comment

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

is Setting minWidth the correct solution? Would getting rid of Width be better? Allow the content to expand and shrink dynamically? With MinWidth, the content won't shrink past a certain point.

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.

Accessibility fixes for 0.13 milestone
4 participants