Skip to content

[Label] RTL mode: Padding for the label is not mirroring properly(Android, iOS, Mac) #32316

@MohamedHasan3644

Description

@MohamedHasan3644

Description

When dynamically changing the flow direction, the padding for the label does not mirror correctly on the Android, iOS, Mac platform. On Windows platform, it works as expected.

Windows: On Windows platforms, the padding mirrors properly. For example, if left padding is set for a label in LTR (Left-to-Right) flow direction, it correctly mirrors to right padding when the flow direction is changed to RTL (Right-to-Left).
Android, iOS, macOS: On these platforms, the padding does not mirror as expected when the flow direction changes.

Output Screenshots:

Windows:

Screen.Recording.2025-09-26.161457.1.1.mp4

Android:

Screen.Recording.2025-09-26.at.4.17.34.pm.1.1.mov

Mac:

Screen.Recording.2025-10-31.at.6.24.01.PM.mov

iOS:

Screen.Recording.2025-10-31.at.6.23.04.PM.mov

Steps to Reproduce

  1. Set the left or right padding for the label.
  2. Change the flow direction dynamically.
  3. Observe the behavior on different platform.
  • In Windows, Padding of the label will be mirrored based on their position.
  • But in Mac, iOS and Android the padding will not be mirrored.

Link to public reproduction project repository

PaddingIssue.zip

Version with bug

9.0.82 SR8.2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android, macOS, iOS

Affected platform versions

Windows 11, iOS 26, Mac 26.0.1

Did you find any workaround?

NA

Relevant log output

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions