diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-02-01 20:06:24 +0100 |
|---|---|---|
| committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2019-02-12 17:12:44 +0000 |
| commit | a7123de6c99b4949fb1b3affffcba3bf9a9d372f (patch) | |
| tree | ec76822e59eb5178ebd1d338ea9d1cf948d354c6 /src/network/socket/qhttpsocketengine.cpp | |
| parent | afc7b26313e0d6c43bdc62b021751f30e6fa27a5 (diff) | |
QFontComboBox: fix layouting in RTL mode
QFontComboBox did not work very well in RTL mode. The text was not
aligned right and the icon was not painted on the right side as it is
done for a normal combobox.
Fix it by using QStyle::alignedRect() for the icon position calculation
and passing the correct alignment when drawing text.
Fixes: QTBUG-19722
Change-Id: I47c5864519e78e0833ef4c07a1385e45ce4479f8
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/network/socket/qhttpsocketengine.cpp')
0 files changed, 0 insertions, 0 deletions
