From: Mohammed Sadiq Date: Thu, 14 Jun 2018 05:39:19 +0000 (+0530) Subject: examples: Fix alignment of search-bar example X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~22^2~173 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6033bc56b4e3fdf9788af0319a0da250c7da3b12;p=gtk4.git examples: Fix alignment of search-bar example The search entry was taking the whole window size. Let's reduce the size so as to have more natural size. --- diff --git a/examples/search-bar.c b/examples/search-bar.c index 136354ac84..c2a6f2d805 100644 --- a/examples/search-bar.c +++ b/examples/search-bar.c @@ -26,6 +26,7 @@ activate_cb (GtkApplication *app, gtk_widget_show (window); search_bar = gtk_search_bar_new (); + gtk_widget_set_valign (search_bar, GTK_ALIGN_START); gtk_container_add (GTK_CONTAINER (window), search_bar); gtk_widget_show (search_bar);