summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-10-22 22:58:54 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-10-27 20:08:33 +0200
commit0c0892a3e20aa1fa79e3561de9b8e1fa8820f062 (patch)
treeaced654fe9ebd6775e89892752f721228fddd434 /examples
parent05532a09684990ebfabf1fa60fcdb7751afb8282 (diff)
Fusion: Consistent width calculation and rendering of menu items
The width calculation lacked the addition of the windowItemFrame constant, which was added in the rendering code. This resulted in ellision for long items. To make the code easier to follow, const'ify, rename, and reorder some local variables, and use constants from QFusionStylePrivate instead of (now obsolete and removed) constants copied from the Windows style. Break long lines as a drive-by. Fixes: QTBUG-94481 Pick-to: 6.2 Change-Id: I6d3e9d0feebee58fc70beaaf29236b8473242083 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions