qt6-bb10/tests/auto/widgets
Nils Jeisecke 4a240bb67e QTextDocument: Fix device scaling for QTextFrameFormat margins, padding and border
Those values must be scaled to device coordinates - otherwise borders,
margins etc. will be too small when rendered on high dpi devices
(printers etc.).

This change will add the scaling to those values.

QTextDocument::print applies 2cm margins to the root frame of a
unpaginated QTextDocument. Those margins were previously scaled to
device coordinates in order to give the correct result. But because
scaling is now done inside QTextDocumentLayout that scaling must be
removed and pixel values based on qt_defaultDpi are provided instead.

Fixes: QTBUG-78318
Change-Id: I6fe6dcc25f846341f6a2fe5df2f54baea473fdfd
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
2019-09-17 23:05:09 +02:00
..
dialogs Remove the usage of deprecated APIs from QSysInfo 2019-08-20 15:09:11 +00:00
effects unblacklist passing tests 2019-07-08 11:01:42 +00:00
graphicsview QGraphicsView: mark obsolete flag DontClipPainter as deprecated 2019-09-05 17:40:29 +02:00
itemviews tst_QTableView: cleanup 2019-09-14 15:50:05 +02:00
kernel tst_QWidget::translucentWidget(): Pass with High DPI scaling enabled 2019-09-16 10:48:52 +02:00
styles tst_QStyle: Remove unused baseline images (Windows Vista/macOS) 2019-08-22 22:26:53 +02:00
util unblacklist passing tests 2019-07-08 11:01:42 +00:00
widgets QTextDocument: Fix device scaling for QTextFrameFormat margins, padding and border 2019-09-17 23:05:09 +02:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00