[gtk/dropdown-checkmark: 39/41] dropdown: Make search entry shrink




commit 3a119a3d3a5eb676c1235d7c4e7c451ba595b7ba
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Oct 27 15:35:34 2020 -0400

    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.

 gtk/ui/gtkdropdown.ui | 2 ++
 1 file changed, 2 insertions(+)
---
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>


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