Merge lp:~fboucault/ubuntu-ui-toolkit/rtl_support into lp:ubuntu-ui-toolkit
Proposed by
Florian Boucault
Status: | Merged |
---|---|
Approved by: | Zsombor Egri |
Approved revision: | 908 |
Merged at revision: | 920 |
Proposed branch: | lp:~fboucault/ubuntu-ui-toolkit/rtl_support |
Merge into: | lp:ubuntu-ui-toolkit |
Prerequisite: | lp:~fboucault/ubuntu-ui-toolkit/gallery_cleaner_responsiveness |
Diff against target: |
334 lines (+79/-7) 19 files modified
examples/ubuntu-ui-toolkit-gallery/TemplateFlow.qml (+1/-0) examples/ubuntu-ui-toolkit-gallery/TemplateRow.qml (+12/-0) examples/ubuntu-ui-toolkit-gallery/TemplateSection.qml (+1/-0) examples/ubuntu-ui-toolkit-gallery/TemplateSectionNavigation.qml (+3/-0) examples/ubuntu-ui-toolkit-gallery/ubuntu-ui-toolkit-gallery.qml (+3/-0) modules/Ubuntu/Components/Label.qml (+12/-0) modules/Ubuntu/Components/ListItems/Empty.qml (+5/-0) modules/Ubuntu/Components/Popups/PopupBase.qml (+3/-0) modules/Ubuntu/Components/Slider.qml (+15/-4) modules/Ubuntu/Components/TextArea.qml (+3/-0) modules/Ubuntu/Components/TextField.qml (+3/-0) modules/Ubuntu/Components/Themes/Ambiance/ButtonStyle.qml (+3/-0) modules/Ubuntu/Components/Themes/Ambiance/HeaderStyle.qml (+2/-0) modules/Ubuntu/Components/Themes/Ambiance/PartialColorize.qml (+4/-2) modules/Ubuntu/Components/Themes/Ambiance/PartialColorizeUbuntuShape.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/ProgressBarStyle.qml (+2/-0) modules/Ubuntu/Components/Themes/Ambiance/ProgressionVisualStyle.qml (+1/-0) modules/Ubuntu/Components/Themes/Ambiance/SwitchStyle.qml (+2/-0) modules/Ubuntu/Components/Toolbar.qml (+3/-0) |
To merge this branch: | bzr merge lp:~fboucault/ubuntu-ui-toolkit/rtl_support |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Approve | |
Zsombor Egri | Approve | ||
Review via email: mp+200868@code.launchpad.net |
Commit message
Added Right-to-Left languages support to most widgets and to the UI Toolkit Gallery.
The following widgets now behave properly in RTL environments:
- List Items
- Popups
- Slider
- TextArea
- TextField
- Button
- ProgressBar
- Toolbar
- Header
- Switch
Tabs still need to be reversed.
Relayout issues had to be workarounded (QTBUG 35095) for Label and Row.
To post a comment you must log in.
Manual testing is best done by invoking qmlscene with the -reverse switch.
English strings won't automatically reverse though. Adding the following to Label.qml does that for testing purposes:
horizontalA lignment: Text.AlignLeft