After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 561521 - need padding when no icons, checkbox or radios are present in a menu
need padding when no icons, checkbox or radios are present in a menu
Status: RESOLVED DUPLICATE of bug 322934
Product: gtk+
Classification: Platform
Component: Widget: GtkMenu
2.12.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-11-19 14:21 UTC by Jean-François Fortin Tam
Modified: 2009-03-16 15:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot: Mac OS X does exactly that (22.31 KB, image/jpeg)
2008-11-19 14:22 UTC, Jean-François Fortin Tam
Details

Description Jean-François Fortin Tam 2008-11-19 14:21:59 UTC
When a menu does not have icons, radio items or checkboxes, the items are stuck right to the left border.

Instead, there should be a padding/margin roughly equal to the space used by checkboxes/icons.
Comment 1 Jean-François Fortin Tam 2008-11-19 14:22:57 UTC
Created attachment 123035 [details]
Screenshot: Mac OS X does exactly that
Comment 2 Matthew Paul Thomas (mpt) 2008-12-30 01:42:44 UTC
Actually, both Windows and Mac OS X leave enough room for a checkmark to the left of every menu item regardless of whether the item ever has a checkmark or not.
http://i.msdn.microsoft.com/Aa753633.IE_file_new%28en-us%2CVS.85%29.gif
This results in more consistent spacing between menus that contain checkmark items and menus that don't. I think GTK should do the same — not because it’s what Windows and OS X do, but because it’s more internally consistent.

(Because relatively few menu items in Mac OS X have icons, extra space is not allotted for them. Instead, the icon takes up part of the space normally used for the text. If bug 557469 or its successor results in most Gnome menu items not having an icon, we may need to consider something similar.)
Comment 3 Cody Russell 2009-03-16 15:29:34 UTC

*** This bug has been marked as a duplicate of 322934 ***