Add layout in QRadioButton baseline test for better visualization
Task-number: QTBUG-99749 Pick-to: 6.3 Change-Id: Iafd097d42b312cc24a60107c00e9c52fc0f3cdff Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
0842b01f02
commit
5fa35c4f14
@ -354,6 +354,7 @@ void tst_Widgets::tst_QRadioButton()
|
|||||||
QBoxLayout box(QBoxLayout::TopToBottom);
|
QBoxLayout box(QBoxLayout::TopToBottom);
|
||||||
box.addWidget(&button1);
|
box.addWidget(&button1);
|
||||||
box.addWidget(&button2);
|
box.addWidget(&button2);
|
||||||
|
testWindow()->setLayout(&box);
|
||||||
takeStandardSnapshots();
|
takeStandardSnapshots();
|
||||||
|
|
||||||
const QPoint clickTarget = button1.rect().center();
|
const QPoint clickTarget = button1.rect().center();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user