@@ -151,15 +151,17 @@ Rectangle {
151151 {
152152 var button = findChild(buttonGroup, "moreLessButton");
153153 var buttonColumn = findChild(buttonGroup, "buttonColumn");
154+ var buttonColumnInitialHeight = buttonColumn.height;
155+ var buttonGroupInitialHeight = buttonGroup.height;
154156 verify(button != null);
155157 mouseClick(button);
156158 tryCompare(buttonColumn, "height", buttonColumn.implicitHeight);
159+ tryCompare(buttonGroup, "height", buttonGroupInitialHeight + (buttonColumn.height - buttonColumnInitialHeight + units.gu(1)));
157160 }
158161
159162 function test_comboButton(data) {
160163 var twoActionsY = twoActions.y
161164 pressMoreButton(buttonAndCombo);
162− tryCompareFunction(function () { return twoActions.y <= twoActionsY; }, false);
163165 checkButtonPressSignal(buttonAndCombo, data.id);
164166 mouseClick(findChild(buttonAndCombo, "moreLessButton"));
165167 tryCompare(twoActions, "y", twoActionsY);