diff options
| author | Mitch Curtis <mitch.curtis@digia.com> | 2014-06-03 17:46:20 +0200 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-06-03 18:27:51 +0200 |
| commit | 4cc1b689ef0dab71ed7a6bc798d1388e3c90989c (patch) | |
| tree | 3fc4c9367350035df6d3af65bdf24468e0355ec3 /src/controls/Styles | |
| parent | dd2f05b35a5aa3477316a37f865db5d4abb661ae (diff) | |
Make SliderStyle example use implicitWidth and implicitHeight.
This is what we encourage, so it should be consistent.
Change-Id: I0b9bcaebf45aec599a71a351c924883d432c0af0
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/Styles')
| -rw-r--r-- | src/controls/Styles/Base/SliderStyle.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/controls/Styles/Base/SliderStyle.qml b/src/controls/Styles/Base/SliderStyle.qml index c03d96d58..d51090896 100644 --- a/src/controls/Styles/Base/SliderStyle.qml +++ b/src/controls/Styles/Base/SliderStyle.qml @@ -71,8 +71,8 @@ import QtQuick.Controls.Private 1.0 color: control.pressed ? "white" : "lightgray" border.color: "gray" border.width: 2 - width: 34 - height: 34 + implicitWidth: 34 + implicitHeight: 34 radius: 12 } } |
