diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-10-27 15:35:34 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-10-27 15:35:34 -0400 |
commit | 3a119a3d3a5eb676c1235d7c4e7c451ba595b7ba (patch) | |
tree | 97554ef95bb7e5983fb86c014f3bbbd615c7b42d | |
parent | 8df883ed717a301435ad28ebc400fa595837bc77 (diff) | |
download | gtk+-3a119a3d3a5eb676c1235d7c4e7c451ba595b7ba.tar.gz |
dropdown: Make search entry shrink
We don't want the popup to be wider than the button
if we can help it. The search entry does not need
to be very wide.
-rw-r--r-- | gtk/ui/gtkdropdown.ui | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/ui/gtkdropdown.ui b/gtk/ui/gtkdropdown.ui index 5623663553..e2dbdaf4d1 100644 --- a/gtk/ui/gtkdropdown.ui +++ b/gtk/ui/gtkdropdown.ui @@ -59,6 +59,8 @@ <signal name="search-changed" handler="search_changed"/> <signal name="stop-search" handler="search_stop"/> <property name="visible">0</property> + <property name="max-width-chars">6</property> + <property name="width-chars">6</property> <property name="placeholder-text" translatable="yes">Search…</property> </object> </child> |