[lightsoff/arnaudb/wip/gtk4: 25/28] Add missing BinLayout, part 2.




commit 2dd6e9cff6c4ed3a5ff44bbd75cd35bdbc4b2220
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sat Nov 28 15:15:32 2020 +0100

    Add missing BinLayout, part 2.

 src/lightsoff-window.vala | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/src/lightsoff-window.vala b/src/lightsoff-window.vala
index 1441d04..a6c0ea9 100644
--- a/src/lightsoff-window.vala
+++ b/src/lightsoff-window.vala
@@ -201,6 +201,12 @@ private class GameButton : Widget
 {
     [GtkChild] private MenuButton menu_button;
 
+    construct
+    {
+        BinLayout layout = new BinLayout ();
+        set_layout_manager (layout);
+    }
+
     internal void set_label (string new_label)
     {
         menu_button.set_label (new_label);


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