forked from spesmilo/electrum
-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Qt] Set the layout direction based on user-configured language
For Arabic and Farsi (and Hebrew and others), the Qt layout direction was wrong. Layout direction needs to be set to right-to-left for these languages, resulting in basically a flipped window (which is the standard for desktop apps using these languages). This fix makes the Qt app render correctly in these languages. Special thanks to Akad for calling this to my attention.
- Loading branch information
Showing
2 changed files
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters