mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
tests: Add missing margin to simple test
This commit is contained in:
parent
de5939f319
commit
1fd75d0fa2
@ -51,6 +51,10 @@ main (int argc, char *argv[])
|
|||||||
|
|
||||||
button = gtk_button_new ();
|
button = gtk_button_new ();
|
||||||
gtk_button_set_label (GTK_BUTTON (button), "hello world");
|
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);
|
g_signal_connect (button, "clicked", G_CALLBACK (hello), NULL);
|
||||||
|
|
||||||
gtk_window_set_child (GTK_WINDOW (window), button);
|
gtk_window_set_child (GTK_WINDOW (window), button);
|
||||||
|
Loading…
Reference in New Issue
Block a user