diff -r 504c45926386 -r f8ff8df41713 ui/cocoa/BoxContainer.m --- a/ui/cocoa/BoxContainer.m Sat Oct 04 18:33:58 2025 +0200 +++ b/ui/cocoa/BoxContainer.m Sun Oct 05 12:34:42 2025 +0200 @@ -13,7 +13,7 @@ return self; } -- (void) addView:(NSView*)view { +- (void) addView:(NSView*)view margin:(NSEdgeInsets)margin { UiLayout layout = self.uilayout; if(_orientation == NSUserInterfaceLayoutOrientationVertical) { layout.hexpand = TRUE; @@ -24,7 +24,7 @@ self.newline = FALSE; } self.uilayout = layout; - [super addView:view]; + [super addView:view margin:margin]; if(_orientation == NSUserInterfaceLayoutOrientationVertical) { self.newline = TRUE; }