summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_gui_image_qimagereader.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-05-14 14:34:52 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-05-18 13:22:35 (GMT)
commit020b02a16aa69fad173a3b32ec98f05e9a33034d (patch)
tree334598b0923e3e101ee517415da06750a6ae294a /doc/src/snippets/code/src_gui_image_qimagereader.cpp
parente7653f2d2cef626b1dc9ad07753b99c38b015eac (diff)
downloadQt-020b02a16aa69fad173a3b32ec98f05e9a33034d.zip
Qt-020b02a16aa69fad173a3b32ec98f05e9a33034d.tar.gz
Qt-020b02a16aa69fad173a3b32ec98f05e9a33034d.tar.bz2
Fixed: No margin between the text and the shortcut in menu with stylesheet
If padding, margin border are set on an menu item with stylesheet, no space appeared between the text and the shortcut. Fix that by adding the 12px space, same as in QCommonStyle equivalent function Note that this patch also remove unused code, since the variable with and height were not used. example to reproduce the bug: the following stylesheet on a mainwindow that contains a menu with one action with a shortcut QMenu::item { border: 1px solid red; } Task-number: 252610 Reveiwed-by: jbache
Diffstat (limited to 'doc/src/snippets/code/src_gui_image_qimagereader.cpp')
0 files changed, 0 insertions, 0 deletions