[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [plasma-framework] src/declarativeimports/calendar/qml: [Calendar] Flip arrow buttons on right-to-le
From: Kai Uwe Broulik <kde () privat ! broulik ! de>
Date: 2016-06-30 10:28:37
Message-ID: E1bIZD3-0003Kv-Ri () code ! kde ! org
[Download RAW message or body]
Git commit f24fd0caff833d7e01f83a9419ecd21f2b4619ff by Kai Uwe Broulik.
Committed on 30/06/2016 at 10:28.
Pushed by broulik into branch 'master'.
[Calendar] Flip arrow buttons on right-to-left languages
This ensures the arrows always point outward, away from the centre button.
REVIEW: 128327
M +2 -2 src/declarativeimports/calendar/qml/DaysCalendar.qml
http://commits.kde.org/plasma-framework/f24fd0caff833d7e01f83a9419ecd21f2b4619ff
diff --git a/src/declarativeimports/calendar/qml/DaysCalendar.qml \
b/src/declarativeimports/calendar/qml/DaysCalendar.qml index 0e119d9..2d4a139 100644
--- a/src/declarativeimports/calendar/qml/DaysCalendar.qml
+++ b/src/declarativeimports/calendar/qml/DaysCalendar.qml
@@ -142,7 +142,7 @@ Item {
Components.ToolButton {
id: previousButton
- iconName: "go-previous"
+ iconName: Qt.application.layoutDirection === Qt.RightToLeft ? "go-next" \
: "go-previous" onClicked: daysCalendar.previous()
Accessible.name: tooltip
}
@@ -157,7 +157,7 @@ Item {
Components.ToolButton {
id: nextButton
- iconName: "go-next"
+ iconName: Qt.application.layoutDirection === Qt.RightToLeft ? \
"go-previous" : "go-next" onClicked: daysCalendar.next()
Accessible.name: tooltip
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic