GNOME Bugzilla – Bug 700779
gtk_menu_item_draw puts the arrow too close to the border
Last modified: 2013-05-29 12:57:53 UTC
In the LTR case, the arrow position is computed with arrow_x = x + w - arrow_size; Which does not take into account the padding. IMHO it should rather be arrow_x = x + w - arrow_size - padding.right; and similar for the RTL case of course. Unless I'm misunderstanding something? This is making some themes look ugly.
Note in gtk_menu_item_size_allocate() the padding is taken into account when positioning the child.
Created attachment 244916 [details] [review] GtkMenuItem: Take padding into account to position submenu arrow
This bug is probably related to commit a69619edbc2b36aadbff200918ea9f11885d6109.
Review of attachment 244916 [details] [review]: looks right, indeed
Review of attachment 244916 [details] [review]: looks right, indeed. Can you mention the commit that you tracked down in the commit message, please ?
Thanks, pushed to both master and gtk-3-8.