aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/util/size_request_box.vala
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/util/size_request_box.vala')
-rw-r--r--main/src/ui/util/size_request_box.vala6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/src/ui/util/size_request_box.vala b/main/src/ui/util/size_request_box.vala
index a2828262..7d7b6185 100644
--- a/main/src/ui/util/size_request_box.vala
+++ b/main/src/ui/util/size_request_box.vala
@@ -9,9 +9,13 @@ public class SizeRequestBox : Box {
}
}
-public class SizeRequestBin : Bin {
+public class SizeRequestBin : Widget {
public SizeRequestMode size_request_mode { get; set; default = SizeRequestMode.CONSTANT_SIZE; }
+ construct {
+ this.layout_manager = new BinLayout();
+ }
+
public override Gtk.SizeRequestMode get_request_mode() {
return size_request_mode;
}