summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@digia.com>2014-01-15 09:35:11 +0100
committerMitch Curtis <mitch.curtis@digia.com>2014-01-16 12:18:21 +0100
commitdfb401ea27b4bb5a9ab430cdeacb47256fc69451 (patch)
treedcf00aa7b13f908bee4794ba6a5acbf2a040c770
parent48aff7a21dbf9021072d4ed4d2eb702a0fe2941c (diff)
downloadqtquickcontrols-dfb401ea27b4bb5a9ab430cdeacb47256fc69451.tar.gz
Restore button sizes.
Change-Id: Ifd1905438e9312849f8cff3db5229ba5a1361ea9 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
-rw-r--r--src/controls/Styles/Desktop/CalendarStyle.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/controls/Styles/Desktop/CalendarStyle.qml b/src/controls/Styles/Desktop/CalendarStyle.qml
index cb1f9dc7..38ccfa73 100644
--- a/src/controls/Styles/Desktop/CalendarStyle.qml
+++ b/src/controls/Styles/Desktop/CalendarStyle.qml
@@ -80,6 +80,8 @@ Style {
Button {
id: previousMonth
+ width: parent.height * 0.6
+ height: width
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
anchors.leftMargin: (parent.height - height) / 2
@@ -94,6 +96,8 @@ Style {
}
Button {
id: nextMonth
+ width: parent.height * 0.6
+ height: width
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
anchors.rightMargin: (parent.height - height) / 2