GNOME Bugzilla – Bug 650418
menu: don't use the border as a padding value
Last modified: 2011-05-18 14:49:32 UTC
This is basically a follow-up of commits bb038d4dd4c6cd031b433ce68d1c00069194ed06 and b1d08fe0e9b79939847b1a072284bff6d26bffd7 for GtkMenu and GtkMenuItem.
Created attachment 187979 [details] [review] menu: don't use the border as a padding value Borders should be rendered inside the allocation, not act as a second padding.
See my comment on the treeview bug regarding the need to define these theme drawing rules somewhere. As for the patch itself, if it doesn't break things in Adwaita or Raleigh, no objections.
The default CSS actually had a workaround to reset the menu padding, which can now be removed. I pushed this patch to master, plus the tweak to the default CSS to keep on drawing menus correctly. Attachment 187979 [details] pushed as 091a4d7 - menu: don't use the border as a padding value