aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/util
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/util')
-rw-r--r--main/src/ui/util/size_request_box.vala11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/src/ui/util/size_request_box.vala b/main/src/ui/util/size_request_box.vala
new file mode 100644
index 00000000..c9adcb70
--- /dev/null
+++ b/main/src/ui/util/size_request_box.vala
@@ -0,0 +1,11 @@
+using Gtk;
+
+namespace Dino.Ui {
+class SizeRequestBox : Box {
+ public SizeRequestMode size_request_mode { get; set; default = SizeRequestMode.CONSTANT_SIZE; }
+
+ public override Gtk.SizeRequestMode get_request_mode() {
+ return size_request_mode;
+ }
+}
+} \ No newline at end of file