From 13341b031bb52f862e4c98c05f99d434fc86e8e8 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 8 Nov 2002 21:53:31 +0000 Subject: Fix drawing of RTL optionmenus by flipping the indicator_spacing. * gtk/gtkoptionmenu.c (gtk_option_menu_paint): Fix drawing of RTL optionmenus by flipping the indicator_spacing. --- gtk/gtkoptionmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/gtkoptionmenu.c') diff --git a/gtk/gtkoptionmenu.c b/gtk/gtkoptionmenu.c index ba4fa7fff4..257b16f4df 100644 --- a/gtk/gtkoptionmenu.c +++ b/gtk/gtkoptionmenu.c @@ -554,7 +554,7 @@ gtk_option_menu_paint (GtkWidget *widget, button_area.width, button_area.height); if (gtk_widget_get_direction (GTK_WIDGET (widget)) == GTK_TEXT_DIR_RTL) - tab_x = button_area.x + props.indicator_spacing.left + + tab_x = button_area.x + props.indicator_spacing.right + widget->style->xthickness; else tab_x = button_area.x + button_area.width - -- cgit v1.2.1