qt5base-lts/src
Volker Hilsheimer 9d41bd4312 Stylesheet: Another positioning fix for the menu indicator
Draw tool button menu indicator relative to frame, not content, so that
padding added in the stylesheet creates room between text and indicator.

Also, prevent another double-arrow by ignoring menu indicator rendering
when a menu button subcontrol is used, as the two are mutually
exclusive. This amends 1c338e6d07.

Add problematic case to stylesheet baseline test.

Fixes: QTBUG-102866
Pick-to: 6.3 6.2
Change-Id: I5d79e65b33a2e41ac07c8efe0c15697c5be65201
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2022-05-18 13:15:00 +02:00
..
3rdparty zlib as static library 2022-04-22 14:34:47 +02:00
android Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
concurrent Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
corelib Optimize atomics in QObject::moveToThread() [2/2]: de-duplicate loads 2022-05-18 06:37:50 +02:00
dbus Remove more unused qreadwritelock.h includes 2022-05-17 18:49:31 +02:00
entrypoint Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
gui QTextDocument/QGraphicsTextItem: skip layout in setTextWidth(0) 2022-05-17 22:37:40 +02:00
network Remove more unused qreadwritelock.h includes 2022-05-17 18:49:31 +02:00
opengl Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
openglwidgets Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
platformsupport Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
plugins QTlsBackendOpenSSL: don't allocate memory for a QString appendee 2022-05-17 21:20:05 +02:00
printsupport Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
sql Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
testlib Use QAbstractItemModelTester or QFileSystemModel 2022-05-18 12:58:06 +02:00
tools Make uic generate correct C++ comments 2022-05-18 11:53:26 +02:00
widgets Stylesheet: Another positioning fix for the menu indicator 2022-05-18 13:15:00 +02:00
xml Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt