diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2018-04-18 13:35:36 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2018-04-18 13:56:33 +0000 |
commit | c8e4c78ec752d64f8e34dbebd1c9baa98831bb53 (patch) | |
tree | ed1e1972f352fb6768836c9be20920dd267fba34 /src/imports/controls/imagine/Slider.qml | |
parent | 616e86dcb211f47c4d62593de6a051eac70105f7 (diff) |
Slider: add implicitHandleWidth|Height
[ChangeLog][Controls][Slider] Added implicitHandleWidth and
implicitHandleHeight properties.
Change-Id: Id3a67f052a7b234b7eef0e946433e69c3e8add1d
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/imagine/Slider.qml')
-rw-r--r-- | src/imports/controls/imagine/Slider.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/imagine/Slider.qml b/src/imports/controls/imagine/Slider.qml index 3c2710c7..ff560d00 100644 --- a/src/imports/controls/imagine/Slider.qml +++ b/src/imports/controls/imagine/Slider.qml @@ -43,9 +43,9 @@ T.Slider { id: control implicitWidth: Math.max(implicitBackgroundWidth, - (handle ? handle.implicitWidth : 0) + leftPadding + rightPadding) + implicitHandleWidth + leftPadding + rightPadding) implicitHeight: Math.max(implicitBackgroundHeight, - (handle ? handle.implicitHeight : 0) + topPadding + bottomPadding) + implicitHandleHeight + topPadding + bottomPadding) topPadding: background ? background.topPadding : 0 leftPadding: background ? background.leftPadding : 0 |