mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 12:41:07 +00:00
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:
parent
e26fddc544
commit
bb5574c0bd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user