[gtk/wip/baedert/for-master: 4/12] searchentry: Make the text entry expand
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 4/12] searchentry: Make the text entry expand
- Date: Sat, 19 Oct 2019 07:33:50 +0000 (UTC)
commit fcd8285c868da8aa79e92ada61e4b054e8076e1f
Author: Timm Bäder <mail baedert org>
Date: Thu Oct 17 16:38:21 2019 +0200
searchentry: Make the text entry expand
Fixes the broken layout.
gtk/gtksearchentry.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gtk/gtksearchentry.c b/gtk/gtksearchentry.c
index 06460e6282..f701ac21be 100644
--- a/gtk/gtksearchentry.c
+++ b/gtk/gtksearchentry.c
@@ -523,6 +523,7 @@ gtk_search_entry_init (GtkSearchEntry *entry)
priv->entry = gtk_text_new ();
gtk_widget_set_parent (priv->entry, GTK_WIDGET (entry));
+ gtk_widget_set_hexpand (priv->entry, TRUE);
gtk_editable_init_delegate (GTK_EDITABLE (entry));
g_signal_connect_swapped (priv->entry, "changed", G_CALLBACK (text_changed), entry);
g_signal_connect_after (priv->entry, "changed", G_CALLBACK (gtk_search_entry_changed), entry);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]