diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2024-12-27 10:19:55 +0100 |
|---|---|---|
| committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2025-01-06 20:38:38 +0100 |
| commit | 314a5b972646a4f2ef9c1f49ddfd335f546336ab (patch) | |
| tree | a81433b0518c02fce917a23117e1a8f6192fe9e6 /src/corelib/thread/qthread.cpp | |
| parent | 85333b3d8cb89bf58c6c6c0db7c3db5c95b4cbfc (diff) | |
Windows11 style: fix drawing horizontal progressbar in rtl mode
The progressbar content calculation assumes that
subElementRect(SE_ProgressBarContents) returns a rect at 0/0 which is
not the case for progressbars in rtl mode. Fix it by moving the topLeft
edge to 0/0 and translating the painter accordingly
Pick-to: 6.9 6.8
Task-number: QTBUG-132459
Change-Id: I614589c9094b0da3c02867b45570d4dfdca61a18
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/corelib/thread/qthread.cpp')
0 files changed, 0 insertions, 0 deletions
