Commit baed6134 authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlDesigner.PropertyEditor: adjusting radius maximum value

parent 4010db46
......@@ -27,7 +27,7 @@ QWidget {
baseStateFlag: isBaseState;
step: 1;
minimumValue: 0;
maximumValue: 100;
maximumValue: Math.max(1,(Math.min(backendValues.width.value,backendValues.height.value)-backendValues.border_width.value)/2)
}
......
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