GtkStackSwitcher: Make the buttons fill vertically
It fix some cases with different height for the buttons, like with Hebrew character. https://bugzilla.gnome.org/show_bug.cgi?id=740642
This commit is contained in:
committed by
Matthias Clasen
parent
7d066258f3
commit
e65112aaef
@@ -101,8 +101,6 @@ rebuild_child (GtkWidget *self,
|
||||
GtkStyleContext *context;
|
||||
GtkWidget *button_child;
|
||||
|
||||
gtk_widget_set_valign (GTK_WIDGET (self), GTK_ALIGN_CENTER);
|
||||
|
||||
button_child = gtk_bin_get_child (GTK_BIN (self));
|
||||
if (button_child != NULL)
|
||||
gtk_widget_destroy (button_child);
|
||||
|
||||
Reference in New Issue
Block a user