summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--catbird/ui.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/catbird/ui.scm b/catbird/ui.scm
index 19401e4..c6470b6 100644
--- a/catbird/ui.scm
+++ b/catbird/ui.scm
@@ -135,6 +135,10 @@
(define-class <container> (<node-2d>)
(needs-layout? #:accessor needs-layout? #:init-value #t))
+(define-method (initialize (container <container>) initargs)
+ (next-method)
+ (layout container))
+
(define-method (layout (container <container>))
#t)