Commit 49d2450c authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.PropertyEditor: Set a proper maximum value for radius

Task-number: QTCREATORBUG-12574
Change-Id: I5be4fb1e0004a9f1ab32d9b83e2048031cfb3eb6
Reviewed-by: default avatarTim Jenssen <tim.jenssen@digia.com>
parent 8914c4fd
......@@ -91,6 +91,8 @@ Column {
backendValue: backendValues.radius
hasSlider: true
Layout.preferredWidth: 80
minimumValue: 0
maximumValue: Math.min(backendValues.height.value, backendValues.width.value) / 2
}
ExpandingSpacer {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment