QmlDesigner.propertyEditor: anchor fill button is now checkable

This commit is contained in:
Thomas Hartmann
2010-05-27 11:47:15 +02:00
parent 251c259b60
commit 238dfa5185

View File

@@ -125,8 +125,15 @@ QWidget {
height: fixedHeight
styleSheetFile: "anchorfill.css";
checkable: true
onReleased: fill();
onReleased: {
if (checked) {
anchorBackend.fill();
} else {
anchorBackend.resetLayout();
}
}
}
QPushButton {