Commit 58fdc9a1 authored by Ernestas Kulik's avatar Ernestas Kulik 🦑

main: Drop GtkButtonBox

parent 3d0fb579
Pipeline #57509 passed with stage
in 2 minutes and 40 seconds
......@@ -105,7 +105,7 @@ main (int argc,
grid = gtk_grid_new ();
tagged_entry = nautilus_tagged_entry_new ();
search_entry = gtk_search_entry_new ();
button_box = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
button_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
create_buttoned_button = gtk_button_new_with_label ("Create Tag With Button");
create_buttonless_button = gtk_button_new_with_label ("Create Tag Without Button");
......@@ -133,7 +133,7 @@ main (int argc,
gtk_orientable_set_orientation (GTK_ORIENTABLE (grid), GTK_ORIENTATION_VERTICAL);
gtk_widget_set_valign (grid, GTK_ALIGN_CENTER);
gtk_box_set_spacing (GTK_BOX (button_box), 6);
gtk_box_set_homogeneous (GTK_BOX (button_box), true);
gtk_widget_set_halign (button_box, GTK_ALIGN_CENTER);
gtk_widget_set_margin_top (button_box, 6);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment