qt6-bb10/tests/auto/widgets
Gabriel de Dietrich 2f797f8a91 QSplitterHandle: Ensure a minimum grab area
This used to work only for 0- and 1-pixel wide handles. However,
and paradoxically, 2- and 3-pixel wide handles would end up with
narrower grab areas. We now ensure a 4 or 5 minimum grab area,
depending on the handle width parity.

The patch also clears the margins and mask if the handle size is
increased at some point.

Change-Id: I8a16e39fb34b5452d9021dbde8c22bec79df0243
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
2016-12-23 19:23:24 +00:00
..
dialogs tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
effects QtWidgets: Remove Windows CE. 2016-04-07 10:24:45 +00:00
gestures autotests: use QTest::createTouchDevice() 2016-06-10 13:07:17 +00:00
graphicsview tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
itemviews tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
kernel Merge remote-tracking branch 'origin/5.8' into dev 2016-12-13 09:39:20 +01:00
styles tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
util Update Widgets/Util Tests to Qt5 Connection Syntax 2016-12-22 15:00:23 +00:00
widgets QSplitterHandle: Ensure a minimum grab area 2016-12-23 19:23:24 +00:00
widgets.pro