QMdiArea: Increase minimum size for Windows 8/Large fonts.
Task-number: QTBUG-28611 Change-Id: I115a5fa6726ac99c2bbff4ec65d3f8856b2530df Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
This commit is contained in:
parent
34e60228d4
commit
3e3451f429
@ -1733,9 +1733,9 @@ void tst_QMdiArea::tileSubWindows()
|
||||
QTRY_COMPARE(workspace.viewport()->rect().size(), expectedViewportSize);
|
||||
|
||||
// Not enough space for all sub-windows to be visible -> provide scroll bars.
|
||||
workspace.resize(150, 150);
|
||||
workspace.resize(160, 150);
|
||||
qApp->processEvents();
|
||||
QTRY_COMPARE(workspace.size(), QSize(150, 150));
|
||||
QTRY_COMPARE(workspace.size(), QSize(160, 150));
|
||||
|
||||
// Horizontal scroll bar.
|
||||
QScrollBar *hBar = workspace.horizontalScrollBar();
|
||||
|
Loading…
Reference in New Issue
Block a user