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

QmlDesigner.propertyEditor: solve collapsing colorBoxes issues:

parent ba55311f
Branches
Tags
No related merge requests found
......@@ -10,14 +10,25 @@ QExtGroupBox {
property var oldMaximumHeight;
property var startupCollapse: selectionChanged;
property var firstTime: true;
onFinishedChanged: {
oldMaximumHeight = maximumHeight;
visible = false;
visible = true;
if (finished)
collapsed = true;
//visible = false;
//visible = true;
//if (finished)
//collapsed = true;
}
onStartupCollapseChanged: {
oldMaximumHeight = maximumHeight;
if (!collapsed && firstTime) {
collapsed = true;
colorButton.checked = false;
firstTime = false;
}
}
QWidget {
id: colorButtonWidget
......@@ -36,6 +47,7 @@ QExtGroupBox {
}
ColorButton {
id: colorButton
color: colorGroupBox.backendColor.value;
checkable: true;
checked: false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment