From: Cosimo Cecchi Date: Wed, 1 Feb 2012 01:18:09 +0000 (-0500) Subject: combobox: fix cell area allocation in menu mode for RTL X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=26ff536069011c9054d7eb7235b4b4409022a910;p=~andy%2Fgtk combobox: fix cell area allocation in menu mode for RTL We were missing a padding to subtract from the child widget here. --- diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c index a69489c19..d77a06bb1 100644 --- a/gtk/gtkcombobox.c +++ b/gtk/gtkcombobox.c @@ -2610,7 +2610,7 @@ gtk_combo_box_size_allocate (GtkWidget *widget, { child.x += req.width; child.width = allocation->x + allocation->width - - border_width - child.x; + - border_width - child.x - button_padding.right; } else {