forked from qt-creator/qt-creator
QmlDesigner: Fix GradientPropertySpinBox dragging
Task-number: QDS-3081 Change-Id: Ibcd7d79fbff42bb41a009de37f7200aa50b56827 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
0eeb6c6e5e
commit
260d323a85
@@ -33,13 +33,13 @@ Item {
|
|||||||
property string propertyName
|
property string propertyName
|
||||||
|
|
||||||
property alias decimals: spinBox.decimals
|
property alias decimals: spinBox.decimals
|
||||||
|
|
||||||
property alias value: spinBox.realValue
|
property alias value: spinBox.realValue
|
||||||
|
|
||||||
property alias minimumValue: spinBox.realFrom
|
property alias minimumValue: spinBox.realFrom
|
||||||
property alias maximumValue: spinBox.realTo
|
property alias maximumValue: spinBox.realTo
|
||||||
property alias stepSize: spinBox.realStepSize
|
property alias stepSize: spinBox.realStepSize
|
||||||
|
|
||||||
|
property alias pixelsPerUnit: spinBox.pixelsPerUnit
|
||||||
|
|
||||||
width: 90
|
width: 90
|
||||||
implicitHeight: spinBox.height
|
implicitHeight: spinBox.height
|
||||||
|
|
||||||
@@ -52,6 +52,8 @@ Item {
|
|||||||
StudioControls.RealSpinBox {
|
StudioControls.RealSpinBox {
|
||||||
id: spinBox
|
id: spinBox
|
||||||
|
|
||||||
|
__devicePixelRatio: devicePixelRatio()
|
||||||
|
|
||||||
width: wrapper.width
|
width: wrapper.width
|
||||||
actionIndicatorVisible: false
|
actionIndicatorVisible: false
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user