diff options
author | Mohammed Sadiq <sadiq@sadiqpk.org> | 2018-06-14 11:09:19 +0530 |
---|---|---|
committer | Mohammed Sadiq <sadiq@sadiqpk.org> | 2018-06-14 11:09:19 +0530 |
commit | 6033bc56b4e3fdf9788af0319a0da250c7da3b12 (patch) | |
tree | 9cdd64d989162c956f571812a3420cd109e45eec /examples | |
parent | eefd2d6f104973d1461feee0b94dff8af991e145 (diff) | |
download | gtk+-6033bc56b4e3fdf9788af0319a0da250c7da3b12.tar.gz |
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.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/search-bar.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |