forked from AuroraMiddleware/gtk
Place grid mode popups left aligned, not right aligned.
Wed Mar 10 01:21:05 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): Place grid mode popups left aligned, not right aligned.
This commit is contained in:
parent
1255c64028
commit
83130a7a73
@ -1,3 +1,8 @@
|
||||
Wed Mar 10 01:21:05 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): Place
|
||||
grid mode popups left aligned, not right aligned.
|
||||
|
||||
Tue Mar 9 23:09:46 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkoptionmenu.c (gtk_option_menu_init): Avoid centering
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Mar 10 01:21:05 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): Place
|
||||
grid mode popups left aligned, not right aligned.
|
||||
|
||||
Tue Mar 9 23:09:46 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkoptionmenu.c (gtk_option_menu_init): Avoid centering
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Mar 10 01:21:05 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): Place
|
||||
grid mode popups left aligned, not right aligned.
|
||||
|
||||
Tue Mar 9 23:09:46 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkoptionmenu.c (gtk_option_menu_init): Avoid centering
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Mar 10 01:21:05 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): Place
|
||||
grid mode popups left aligned, not right aligned.
|
||||
|
||||
Tue Mar 9 23:09:46 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkoptionmenu.c (gtk_option_menu_init): Avoid centering
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Mar 10 01:21:05 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): Place
|
||||
grid mode popups left aligned, not right aligned.
|
||||
|
||||
Tue Mar 9 23:09:46 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkoptionmenu.c (gtk_option_menu_init): Avoid centering
|
||||
|
@ -863,7 +863,7 @@ gtk_combo_box_menu_position_below (GtkMenu *menu,
|
||||
|
||||
gtk_widget_size_request (GTK_WIDGET (menu), &req);
|
||||
|
||||
if (gtk_widget_get_direction (GTK_WIDGET (combo_box)) == GTK_TEXT_DIR_RTL)
|
||||
if (gtk_widget_get_direction (GTK_WIDGET (combo_box)) == GTK_TEXT_DIR_LTR)
|
||||
*x = sx;
|
||||
else
|
||||
*x = sx + child->allocation.width - req.width;
|
||||
|
Loading…
Reference in New Issue
Block a user