diff --git a/autotests/dialognativetest.cpp b/autotests/dialognativetest.cpp index c0914bec4..6811202d5 100644 --- a/autotests/dialognativetest.cpp +++ b/autotests/dialognativetest.cpp @@ -65,11 +65,11 @@ void DialogNativeTest::size() QCOMPARE(m_content->width(), (qreal)100); QCOMPARE(m_content->height(), (qreal)100); - QCOMPARE(m_dialog->width(), 104); - QCOMPARE(m_dialog->height(), 104); + QCOMPARE(m_dialog->width(), 108); + QCOMPARE(m_dialog->height(), 108); - QCOMPARE(m_dialog->margins()->property("left").value(), (qreal)0.0); - QCOMPARE(m_dialog->margins()->property("top").value(), (qreal)0.0); + QCOMPARE(m_dialog->margins()->property("left").value(), (qreal)4.0); + QCOMPARE(m_dialog->margins()->property("top").value(), (qreal)4.0); QCOMPARE(m_dialog->margins()->property("right").value(), (qreal)4.0); QCOMPARE(m_dialog->margins()->property("bottom").value(), (qreal)4.0); }