summaryrefslogtreecommitdiff
path: root/src/controls/Styles/Base/CalendarStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles/Base/CalendarStyle.qml')
-rw-r--r--src/controls/Styles/Base/CalendarStyle.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/controls/Styles/Base/CalendarStyle.qml b/src/controls/Styles/Base/CalendarStyle.qml
index 78a0eb9f..34f6eb05 100644
--- a/src/controls/Styles/Base/CalendarStyle.qml
+++ b/src/controls/Styles/Base/CalendarStyle.qml
@@ -190,9 +190,10 @@ Style {
}
HoverButton {
id: previousMonth
- anchors.left: parent.left
width: parent.height
- height: parent.height
+ height: width
+ anchors.verticalCenter: parent.verticalCenter
+ anchors.left: parent.left
source: "images/leftanglearrow.png"
onClicked: control.showPreviousMonth()
}
@@ -201,7 +202,6 @@ Style {
text: styleData.title
elide: Text.ElideRight
horizontalAlignment: Text.AlignHCenter
- verticalAlignment: Text.AlignVCenter
font.pointSize: 14
anchors.verticalCenter: parent.verticalCenter
anchors.left: previousMonth.right