testspinbutton: Orient box orthogonally to Spins

This makes better use of space.
This commit is contained in:
Daniel Boles 2018-03-14 22:37:34 +00:00
parent 8b800fa775
commit 55664f95ab

View File

@ -39,7 +39,7 @@ prepare_window_for_orientation (GtkOrientation orientation)
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
g_signal_connect (window, "close-request", G_CALLBACK (on_delete), NULL);
mainbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);
mainbox = gtk_box_new (GTK_ORIENTATION_VERTICAL ^ orientation, 2);
gtk_container_add (GTK_CONTAINER (window), mainbox);
for (max = 9; max <= 999999999; max = max * 10 + 9)