Skip to content
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] MAUI Label alignment not same in Windows 10 and Window 11 #26691

Open
JayashreeRavishankar opened this issue Dec 18, 2024 · 2 comments
Labels
area-controls-label Label, Span partner/syncfusion Issues / PR's with Syncfusion collaboration platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@JayashreeRavishankar
Copy link

JayashreeRavishankar commented Dec 18, 2024

Description

When set Label's FontFamily as null or default(string) , text alignment not same in Windows 10 and Windows 11.
Windows 10:
Image

Windows 11:
Image

Steps to Reproduce

  1. Run the attached sample on both Windows 10 and Windows 11.
  2. Observe the text alignment: the text does not appear the same on both versions. On one, the text is positioned too low(windows 11), while on the other, it is properly aligned(windows 10).

Link to public reproduction project repository

[JayashreeRavishankar/MAUILabelAlignmentIssue](https://github.com/JayashreeRavishankar/MAUILabelAlignmentIssue.git)

Version with bug

9.0.21 SR2.1

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows SDK 10.0.19041.0

Did you find any workaround?

No

Relevant log output

@JayashreeRavishankar JayashreeRavishankar added the t/bug Something isn't working label Dec 18, 2024
@JayashreeRavishankar JayashreeRavishankar changed the title [Windows] MAUI Lable alignment not same in Windows 10 and Window 11 [Windows] MAUI Label alignment not same in Windows 10 and Window 11 Dec 18, 2024
@Ying-6
Copy link

Ying-6 commented Dec 18, 2024

This issue has been verified using Visual Studio 17.13.0 Preview 2.0 (9.0.21 & 9.0.14 & 8.0.100). Can repro on Windows platform.

Win11 OS build: 26100.2605
Image

Win10 OS build: 19045.5247
Image

@Ying-6 Ying-6 added s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage labels Dec 18, 2024
@vishnumenon2684 vishnumenon2684 added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Dec 19, 2024
@PureWeen PureWeen added this to the .NET 9 Servicing milestone Dec 20, 2024
@KarthikRajaKalaimani
Copy link
Contributor

Hi @JayashreeRavishankar ,

This issue is related to the native WinUI and has been reported in their repository. Please refer to the link below for further updates

microsoft/microsoft-ui-xaml#10256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-label Label, Span partner/syncfusion Issues / PR's with Syncfusion collaboration platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants