diff options
author | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2022-10-18 13:16:43 +0200 |
---|---|---|
committer | Timur Pocheptsov <timur.pocheptsov@qt.io> | 2022-10-18 18:55:32 +0200 |
commit | 942abaae595ea620bdeacba0f4a18b759785d61b (patch) | |
tree | fa414204e3cad8779315cb4acfcbd0fd8539f5f7 /src/gui/kernel | |
parent | e8d6accb9331cbfd07093fcbafc0d89be9054b68 (diff) |
QMacStyle: restore control size after re-initialization
We had to re-initialize NSSlider, due to some hidden problem with
stale geometry, when just setting properties of a cached control
(the remains of another previous QSlider render, using the same NSSlider).
But -initWithFrame: also resets the control size we set earlier,
thus 'small'/'mini' becoming 'normal'.
Fixes: QTBUG-107450
Pick-to: 6.4 6.2
Change-Id: Ice42c787ec65d89c1c15f9c89462b7804aafe51c
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/kernel')
0 files changed, 0 insertions, 0 deletions