Skip to content

Conversation

@Dejvino
Copy link
Contributor

@Dejvino Dejvino commented Jul 12, 2023

Replaces Left and Right gravity with the proper Start and End equivalents to support RTL languages.

Fixes #353: Aligning RTL text isn't working correctly.

Before the change, notes and checklists in the app were aligned to one side, either Left or Right (regardless of LTR or RTL of the language). This was inconsistent with the widgets, which were already using Start and End gravity (widget_text_layout.xml).

After the change to Start / End, both LTR and RTL languages can coexist in the same note / checklist.

The Alignment setting should not be needed anymore for RTL as it works out of the box. It still uses the Left & Right terms for simplicity and even swaps the labels for RTL languages. TBD if renaming them to something like "Default" and "Inverted" would make more sense.

@tibbi
Copy link
Contributor

tibbi commented Jul 17, 2023

should be good, thanks

@tibbi tibbi merged commit 5bf9b27 into SimpleMobileTools:master Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Alinging RTL text isn't working correctly

2 participants