[gtk/matthiasc/for-master: 2/5] dropdown: Make the stack nonhomogeneous



commit cc18e81064e84a32644ff4ebdb0fb9374201372a
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jun 11 23:24:36 2020 -0400

    dropdown: Make the stack nonhomogeneous
    
    Without this, the (None) in the empty page forces
    the button to have a large minimum width, even when
    we don't put a widget in it.

 gtk/ui/gtkdropdown.ui | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtk/ui/gtkdropdown.ui b/gtk/ui/gtkdropdown.ui
index 650d159e4e..fdd84ddaf2 100644
--- a/gtk/ui/gtkdropdown.ui
+++ b/gtk/ui/gtkdropdown.ui
@@ -11,6 +11,7 @@
               <object class="GtkStack" id="button_stack">
                 <property name="halign">fill</property>
                 <property name="hexpand">1</property>
+                <property name="hhomogeneous">0</property>
                 <child>
                   <object class="GtkStackPage">
                     <property name="name">empty</property>


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