Commit 238dfa51 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: anchor fill button is now checkable

parent 251c259b
...@@ -125,8 +125,15 @@ QWidget { ...@@ -125,8 +125,15 @@ QWidget {
height: fixedHeight height: fixedHeight
styleSheetFile: "anchorfill.css"; styleSheetFile: "anchorfill.css";
checkable: true
onReleased: fill(); onReleased: {
if (checked) {
anchorBackend.fill();
} else {
anchorBackend.resetLayout();
}
}
} }
QPushButton { QPushButton {
......
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