path: root/examples/widgets
diff options
authorVolker Hilsheimer <>2021-10-22 22:58:54 +0200
committerVolker Hilsheimer <>2021-10-27 20:08:33 +0200
commit0c0892a3e20aa1fa79e3561de9b8e1fa8820f062 (patch)
treeaced654fe9ebd6775e89892752f721228fddd434 /examples/widgets
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 <> Reviewed-by: Richard Moe Gustavsen <>
Diffstat (limited to 'examples/widgets')
0 files changed, 0 insertions, 0 deletions