Warning --

Change-Id: I7649fc9f9209816be909217f1c71e7bbe60ab10f
This commit is contained in:
David Edmundson 2014-10-01 03:03:19 +02:00
parent 55368fac23
commit 4233f7f38e

View File

@ -59,8 +59,8 @@ QtControls.Slider {
*/
property bool inverted: false
width: contents.isVertical ? theme.mSize(theme.defaultFont).height*1.6 : 200
height: contents.isVertical ? 200 : theme.mSize(theme.defaultFont).height*1.6
width: slider.isVertical ? theme.mSize(theme.defaultFont).height*1.6 : 200
height: slider.isVertical ? 200 : theme.mSize(theme.defaultFont).height*1.6
// TODO: needs to define if there will be specific graphics for
// disabled sliders
opacity: enabled ? 1.0 : 0.5