testrevealer: Make filler text actually big enough
…to do what it says it does, i.e. avoid the window expanding/shifting as e.g. the leftmost entry is revealed. noticed during https://gitlab.gnome.org/GNOME/gtk/issues/1057
This commit is contained in:
		| @ -14,14 +14,14 @@ main (gint argc, | ||||
|   box = gtk_grid_new (); | ||||
|   gtk_container_add (GTK_CONTAINER (window), box); | ||||
|  | ||||
|   widget = gtk_label_new ("Some filler text to avoid\nresizing of the window"); | ||||
|   widget = gtk_label_new ("Some filler text just to avoid\nresizing of the window"); | ||||
|   gtk_widget_set_margin_top (widget, 10); | ||||
|   gtk_widget_set_margin_bottom (widget, 10); | ||||
|   gtk_widget_set_margin_start (widget, 10); | ||||
|   gtk_widget_set_margin_end (widget, 10); | ||||
|   gtk_grid_attach (GTK_GRID (box), widget, 1, 1, 1, 1); | ||||
|  | ||||
|   widget = gtk_label_new ("Some filler text to avoid\nresizing of the window"); | ||||
|   widget = gtk_label_new ("Some filler text just to avoid\nresizing of the window"); | ||||
|   gtk_widget_set_margin_top (widget, 10); | ||||
|   gtk_widget_set_margin_bottom (widget, 10); | ||||
|   gtk_widget_set_margin_start (widget, 10); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Boles
					Daniel Boles