tests/auto/qboxlayout/tst_qboxlayout.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   209     w.setLayout(lay);
   209     w.setLayout(lay);
   210     w.show();
   210     w.show();
   211 
   211 
   212     QRect newGeom(0, 0, 70, 70);
   212     QRect newGeom(0, 0, 70, 70);
   213     lay2->setGeometry(newGeom);
   213     lay2->setGeometry(newGeom);
   214     QApplication::processEvents();
       
   215     QVERIFY2(newGeom.contains(dial->geometry()), "dial->geometry() should be smaller and within newGeom");
   214     QVERIFY2(newGeom.contains(dial->geometry()), "dial->geometry() should be smaller and within newGeom");
   216 }
   215 }
   217 
   216 
   218 void tst_QBoxLayout::setStyleShouldChangeSpacing()
   217 void tst_QBoxLayout::setStyleShouldChangeSpacing()
   219 {
   218 {