[niepce/gtk4: 10/10] gtk4: fix hscale expand




commit d5ba72c35198a6c11b726a7ac09b736f5dd55012
Author: Hubert Figuière <hub figuiere net>
Date:   Mon Mar 21 00:13:11 2022 -0400

    gtk4: fix hscale expand

 src/fwk/toolkit/widgets/editablehscale.cpp | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/fwk/toolkit/widgets/editablehscale.cpp b/src/fwk/toolkit/widgets/editablehscale.cpp
index c209a01..74b30f5 100644
--- a/src/fwk/toolkit/widgets/editablehscale.cpp
+++ b/src/fwk/toolkit/widgets/editablehscale.cpp
@@ -59,6 +59,7 @@ void EditableHScale::_init()
         append(*m_icon);
     }
     m_scale.property_draw_value() = false;
+    m_scale.set_hexpand(true);
 
     auto gesture = Gtk::GestureClick::create();
     gesture->set_button(1);


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