diff options
author | Wang Peng <wangpeng@uniontech.com> | 2021-08-04 14:06:12 +0800 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-08-17 03:29:12 +0000 |
commit | 6dc9c8991923e9cd0bacf00a05742f0eea574ea5 (patch) | |
tree | 51b5cc27ed032dfc507fe2a36ede3297f8b58307 /cmake | |
parent | b781fa79c1146c94f840e2779d9d35bb14eb722e (diff) |
QStyle: allow styles to control the margin around icons in QLineEdit
The styles can't control the margin of the icon container, and its value
is hardcoded to a quarter of the iconSize, which is very unfriendly.
Add a PixelMetric enum value to allow styles to control the margin.
Change-Id: I21274b68d24150db7be78513fe9125f775aa2b00
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions