tests: Add missing margin to simple test

This commit is contained in:
Alexander Mikhaylenko 2020-05-11 02:49:09 +05:00
parent de5939f319
commit 1fd75d0fa2

View File

@ -51,6 +51,10 @@ main (int argc, char *argv[])
button = gtk_button_new ();
gtk_button_set_label (GTK_BUTTON (button), "hello world");
gtk_widget_set_margin_top (button, 10);
gtk_widget_set_margin_bottom (button, 10);
gtk_widget_set_margin_start (button, 10);
gtk_widget_set_margin_end (button, 10);
g_signal_connect (button, "clicked", G_CALLBACK (hello), NULL);
gtk_window_set_child (GTK_WINDOW (window), button);