-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Upgraded Dismiss button to be legible at 225% text display setting #4249
Upgraded Dismiss button to be legible at 225% text display setting #4249
Conversation
Thanks XAML-Knight for opening a Pull Request! The reviewers will test the PR and highlight if there is any conflict or changes required. If the PR is approved we will proceed to merge the pull request 🙌 |
Opened a similar issue for the neighboring OK & Cancel buttons #4250.
|
Style="{StaticResource DismissTextBlockButtonStyle}"> | ||
<Button.RenderTransform> | ||
<TranslateTransform x:Name="DismissButtonTransform" X="25" Y="-5"/> | ||
<TranslateTransform x:Name="DismissButtonTransform" X="20" Y="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.
You are using Y="1"
in the .bind
. I guess we should have the same value in the two files ?
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.
@XAML-Knight any reason for this?
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.
I went with what looked good, visually. Would be nice to have a consistent layout, even though the difference is only 1 pixel between the two button transforms.
Fixes #3467
PR Type
What kind of change does this PR introduce?
Bugfix
What is the current behavior?
The 'X' inside the Dismiss button, becomes off-center and generally unreadable when user sets Windows text display to 225%
What is the new behavior?
The 'X' inside the Dismiss button is legible at Windows text display setting of 225%
PR Checklist
Please check if your PR fulfills the following requirements:
Other information