Commit f551d6e8 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.PropertyEditor: Do not allow negative width or height

Task-number: QTCREATORBUG-12025
Change-Id: I5348869e8627ca7de0cd5f3c67bbeb3353770f15
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 12838591
......@@ -102,7 +102,7 @@ Section {
SpinBox {
backendValue: backendValues.width
maximumValue: 0xffff
minimumValue: -0xffff
minimumValue: 0
decimals: 0
}
......@@ -119,7 +119,7 @@ Section {
SpinBox {
backendValue: backendValues.height
maximumValue: 0xffff
minimumValue: -0xffff
minimumValue: 0
decimals: 0
}
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