[gtk/wip/dboles/revealer-underallocates-gadgets-3: 1/2] testrevealer: Make filler text actually big enough



commit ee5873be1900ba76baf020dd9ff17d22189ddfd7
Author: Daniel Boles <dboles src gmail com>
Date:   Tue Dec 18 20:52:15 2018 +0000

    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

 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]