diff options
author | Mitch Curtis <mitch.curtis@theqtcompany.com> | 2015-01-27 11:11:30 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@digia.com> | 2015-01-28 08:08:50 +0000 |
commit | 2512c39e32b366d484559d8c0de8fa60642f354e (patch) | |
tree | 8e3e8ed4727b7c8972d21f6cff343f8eac50e56c | |
parent | f6a02e54558acd565d4ee134ba6d96b44e258919 (diff) | |
download | qtquickcontrols-2512c39e32b366d484559d8c0de8fa60642f354e.tar.gz |
Increase size of Base style Calendar previous/next month button icon.
Change-Id: I06284a47e21a5d91e9bad3acda5a254e48bc85c5
Task-number: QTBUG-38315
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
-rw-r--r-- | src/controls/Private/HoverButton.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/controls/Private/HoverButton.qml b/src/controls/Private/HoverButton.qml index 1b79e087..964d30d3 100644 --- a/src/controls/Private/HoverButton.qml +++ b/src/controls/Private/HoverButton.qml @@ -62,9 +62,10 @@ Item { Image { id: image - width: implicitWidth/2 - height: implicitHeight/2 + width: Math.min(implicitWidth, parent.width * 0.4) + height: Math.min(implicitHeight, parent.height * 0.4) anchors.centerIn: parent + fillMode: Image.PreserveAspectFit opacity: 0.6 } |