maui icon indicating copy to clipboard operation
maui copied to clipboard

.NET Maui does not support FontAutoScalingEnabled for windows platform

Open vsfeedback opened this issue 1 year ago • 3 comments

This issue has been moved from a ticket on Developer Community.


[severity:It’s more difficult to complete my work]
Create .NET Maui Project
Create a Label with text
Set Label.FontAutoScalingEnabled = false
Set run platform to “Windows Machine”
Run application
Note size of text

Change the windows display scaling to 1.5 or 1.25 (larger than above) Set run platform to “Windows Machine”
Run application again
Note new size of text is larger which it should not be


Original Comments

Feedback Bot on 7/28/2024, 06:24 PM:

(private comment, text removed)


Original Solutions

(no solutions)

vsfeedback avatar Aug 12 '24 22:08 vsfeedback

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

github-actions[bot] avatar Aug 12 '24 22:08 github-actions[bot]

I can repro this issue at Windows platform on the latest 17.12.0 Preview 1.0(8.0.80 &8.0.72).

RoiChen001 avatar Aug 15 '24 09:08 RoiChen001

I should also add, that this issue is for all controls that have text including Buttons & Entry.

mas985 avatar Aug 28 '24 19:08 mas985

After some more debugging I discovered that when I use text scaling vs screen scaling, the behavior is different. Text scaling on all platforms appears to respect the setting of "Label.FontAutoScalingEnabled". However, screen scaling does not respect that value. Is this by design?

mas985 avatar Nov 24 '24 23:11 mas985