Skip to content
Snippets Groups Projects
Commit baed6134 authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlDesigner.PropertyEditor: adjusting radius maximum value

parent 4010db46
No related branches found
No related tags found
No related merge requests found
......@@ -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)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment