-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Windows] Button font image source incorrectly sized on 8.0.10 when specifying a button HeightRequest #21202
Comments
@MattePozzy Yes I can confirm that the workaround is not functional when using ContentLayout. In this case you don't even need to use Height request to cause it to fail.
which results in this |
Can you test with the latest nightly build? |
@PureWeen it seems ok on these identified situations - but I've not done much testing around it. Used 8.0.20-nightly.10336 |
Description
From version 8.0.10, using a font image source on a button image source is incorrectly resizing its content when a heightrequest is set on the button, resulting in the UI having different sized elements and the font image itself looking blurry (and increasingly blurrier depending on how small you had set the size for the font image source).
[Note: version 8.0.10 is missing from the list of versions in this bug form, which is why I had to select "other". edit: now manually changed to 8.0.10].
Steps to Reproduce
Link to public reproduction project repository
No response
Version with bug
8.0.10
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.7 SR2
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
Using MinimumHeightRequest instead of HeightRequest stops this issue.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: