From ee5873be1900ba76baf020dd9ff17d22189ddfd7 Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Tue, 18 Dec 2018 20:52:15 +0000 Subject: [PATCH] testrevealer: Make filler text actually big enough MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …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 --- tests/testrevealer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testrevealer.c b/tests/testrevealer.c index 2de4c576b9..3291065431 100644 --- a/tests/testrevealer.c +++ b/tests/testrevealer.c @@ -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);