@@ -151,15 +151,16 @@ Rectangle {
151151 {
152152 var button = findChild(buttonGroup, "moreLessButton");
153153 var buttonColumn = findChild(buttonGroup, "buttonColumn");
154+ var buttonGroupInitialHeight = buttonGroup.height;
154155 verify(button != null);
155156 mouseClick(button);
156157 tryCompare(buttonColumn, "height", buttonColumn.implicitHeight);
158+ tryCompare(buttonGroup, "height", buttonGroupInitialHeight + buttonColumn.height + buttonColumn.anchors.topMargin);
157159 }
158160
159161 function test_comboButton(data) {
160162 var twoActionsY = twoActions.y
161163 pressMoreButton(buttonAndCombo);
162− tryCompareFunction(function () { return twoActions.y <= twoActionsY; }, false);
163164 checkButtonPressSignal(buttonAndCombo, data.id);
164165 mouseClick(findChild(buttonAndCombo, "moreLessButton"));
165166 tryCompare(twoActions, "y", twoActionsY);