path: root/src/corelib/kernel
diff options
authorChristian Ehrlicher <>2019-02-02 22:03:42 +0100
committerChristian Ehrlicher <>2019-02-13 05:55:20 +0000
commitd99162754f225ca98318e96184e80a57c33fa1ed (patch)
treed1464b26e40e8448ea97e3dd4af1b942483728aa /src/corelib/kernel
parent568bc974d7d89f8d12bc4877c59e4291fe582e8b (diff)
QStyleSheet/QToolbox: don't overlap text and icon
When an icon was specified with a style sheet, the content rect for the toolbox label was not adjusted which results in an overlapping of the text and the icon. Fix it by adjusting the rect used by drawing the label when an icon is specified with a style sheet. Fixes: QTBUG-40871 Change-Id: I088b319e6355d78066d0bc4472882a5d9a599091 Reviewed-by: Frederik Gladhorn <> Reviewed-by: Vitaly Fanaskov <>
Diffstat (limited to 'src/corelib/kernel')
0 files changed, 0 insertions, 0 deletions