qt5base-lts/tests/auto/widgets/kernel
Volker Hilsheimer d0f016ebfb Ensure that layouts don't move widgets outside of their parent
When using a style that wants to draw into the layout's margin (like
macOS style does with group box titles), parts of the widgets would be
clipped by the parent if the available margin is smaller than necessary.

This moves the x/y coordinates to at least 0/0, and adjusts width and
height accordingly.

[ChangeLog][QtWidgets][QLayout] Prevent clipping of group box titles
on macOS (and similar styles that draw into layout margins)

Change-Id: I32148a92858c13fb2325da4d0a2a58996e0e8930
Fixes: QTBUG-67608
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
2019-03-26 04:10:07 +00:00
..
qaction Send ShortcutOverride event when receiving a non-spontaneous key press 2018-04-20 10:18:49 +00:00
qactiongroup qtbase: Remove BLACKLIST files which are no longer active 2018-02-12 17:40:12 +00:00
qapplication Fix deprecation warnings in widget autotests 2019-02-08 18:00:51 +00:00
qboxlayout Ensure that layouts don't move widgets outside of their parent 2019-03-26 04:10:07 +00:00
qdesktopwidget Fix deprecation warnings in widget autotests 2019-02-08 18:00:51 +00:00
qformlayout winrt: make widgets/kernel auto tests pass 2018-06-22 05:02:45 +00:00
qgesturerecognizer tests: un-blacklist tst_QGestureRecognizer::panGesture on xcb 2018-06-25 13:41:40 +00:00
qgridlayout tests/auto/widgets/kernel: Avoid unconditional qWait()s 2018-04-24 05:01:57 +00:00
qlayout winrt: make widgets/kernel auto tests pass 2018-06-22 05:02:45 +00:00
qshortcut tests/auto/widgets/kernel: Avoid unconditional qWait()s 2018-04-24 05:01:57 +00:00
qsizepolicy Fix tst_QSizePolicy::constExpr() to compile with MSVC 15.8.1 2018-08-30 06:23:51 +00:00
qstackedlayout tests/auto/widgets/kernel: Avoid unconditional qWait()s 2018-04-24 05:01:57 +00:00
qtooltip QToolTip: Don't crash if a tool tip is shown outside screen geometry 2018-10-15 07:44:04 +00:00
qwidget Widen out parameter "result" of the native event filters for Qt 6 2019-03-22 16:19:48 +00:00
qwidget_window Drag'n'Drop: fix dnd when dragMoveEvent() is not implemented 2019-01-07 10:50:18 +00:00
qwidgetaction testlib: start sharing common helper functions 2017-11-04 20:11:22 +00:00
qwidgetmetatype Finish qmetatype migration to type switcher 2018-10-03 14:48:55 +00:00
qwidgetsvariant
qwindowcontainer winrt: make widgets/kernel auto tests pass 2018-06-22 05:02:45 +00:00
kernel.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00