Skip to content
Snippets Groups Projects
Commit 238dfa51 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: anchor fill button is now checkable

parent 251c259b
Branches
Tags
No related merge requests found
...@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment