forked from qt-creator/qt-creator
QmlDesigner.propertyEditor: anchor fill button is now checkable
This commit is contained in:
@@ -125,8 +125,15 @@ QWidget {
|
||||
height: fixedHeight
|
||||
|
||||
styleSheetFile: "anchorfill.css";
|
||||
checkable: true
|
||||
|
||||
onReleased: fill();
|
||||
onReleased: {
|
||||
if (checked) {
|
||||
anchorBackend.fill();
|
||||
} else {
|
||||
anchorBackend.resetLayout();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QPushButton {
|
||||
|
||||
Reference in New Issue
Block a user