dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.28k stars 1.76k forks source link

[Android] Label's HorizontalTextAlignment property is not updated properly at runtime #11655

Open ashok-kuvaraja opened 2 years ago

ashok-kuvaraja commented 2 years ago

Description

I have a simple sample with a button and label controls. I changed the label's horizontal text alignment from end to start at runtime. It didn't change in the Android platform.

https://user-images.githubusercontent.com/60499432/203995045-dca02eb4-0d90-48f9-ae00-146c47a86af7.mp4

Steps to Reproduce

  1. Run this simple sample.
  2. Press the Click me button to update the label's horizontal text alignment at runtime.

Link to public reproduction project repository

https://github.com/dotnet/maui/files/10093102/DemoProject.zip

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Ensured in Android 12

Did you find any workaround?

No response

Relevant log output

No response

ghost commented 2 years ago

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

Zhanglirong-Winnie commented 1 year ago

Verified this issue with Visual Studio 17.7.0 Preview 1.0. Can repro on android platform with sample project. DemoProject.zip 11655

BalachandarSelvam commented 1 year ago

I am also facing this issue. Could you please prioritize this issue and fix it as soon as possible?

taranveerjohal commented 1 year ago

Have a look at this https://github.com/dotnet/maui/issues/11251

BrnPer commented 7 months ago

Can you try this behavior in MAUI 8.0.20? In my case seems that it fixed 😄