[Calendar] Flip arrow buttons on right-to-left languages
This ensures the arrows always point outward, away from the centre button. REVIEW: 128327
This commit is contained in:
parent
19e8f37753
commit
f24fd0caff
@ -142,7 +142,7 @@ Item {
|
|||||||
|
|
||||||
Components.ToolButton {
|
Components.ToolButton {
|
||||||
id: previousButton
|
id: previousButton
|
||||||
iconName: "go-previous"
|
iconName: Qt.application.layoutDirection === Qt.RightToLeft ? "go-next" : "go-previous"
|
||||||
onClicked: daysCalendar.previous()
|
onClicked: daysCalendar.previous()
|
||||||
Accessible.name: tooltip
|
Accessible.name: tooltip
|
||||||
}
|
}
|
||||||
@ -157,7 +157,7 @@ Item {
|
|||||||
|
|
||||||
Components.ToolButton {
|
Components.ToolButton {
|
||||||
id: nextButton
|
id: nextButton
|
||||||
iconName: "go-next"
|
iconName: Qt.application.layoutDirection === Qt.RightToLeft ? "go-previous" : "go-next"
|
||||||
onClicked: daysCalendar.next()
|
onClicked: daysCalendar.next()
|
||||||
Accessible.name: tooltip
|
Accessible.name: tooltip
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user