This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] [iOS] FlowDirection does not justify text on a label correctly when LineHeight is set to a value greater than 0 #13572
Labels
Projects
FlowDirection does not justify text on a label correctly when LineHeight is set to a value greater than 0
Steps to Reproduce
Expected Behavior
Label with a Start Horizontal Alignment should be right justified
Actual Behavior
Label with a Start Horizontal Alignment is still left justified
Basic Information
Environment
Show/Hide Visual Studio info
Build Logs
Screenshots
Reproduction Link
TestRTL.zip
Workaround
Manually inverse HorizontalTextAlignment on iOS when LineHeight >0 and Device.FlowDirection == FlowDirection.RightToLeft
As I already subclass Label control - then I shadow hide the LineHeight property and inverse the Alignment accordingly. I suspect the same could be done in a Label Renderer.
The text was updated successfully, but these errors were encountered: