diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2023-04-14 16:13:06 +0200 |
|---|---|---|
| committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2023-04-15 13:56:27 +0200 |
| commit | 8ca2d6ba09c4fad8a8d8adf97681c61d53c3a8b4 (patch) | |
| tree | 85dbf46091e7bb1eecbc467aa5e4654a7ee5aa78 /src/sql/doc/snippets/code | |
| parent | d9bd46b2b833ce7cf026e1cd462885bde22f5552 (diff) | |
CommonStyle/QSpinBox: fix rendering up/down symbols in high-dpi mode
The previous patch for QTBUG-112019 could lead to an uneven length which
in results in an incorrect center. Fix it by making sure that the length
(and width) of the two rectangles are even so we always get a proper
center without fiddling around with float values. Also honor
PM_ButtonShiftHorizontal/Vertical now (was forgotten in the last patch).
Pick-to: 6.5
Fixes: QTBUG-112019
Fixes: QTBUG-112861
Change-Id: Ifc19b863c761ae545208b996ba60d1f33bceb2b3
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/sql/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions
