--- a/ui/cocoa/MainWindow.h Sat Jun 06 18:08:51 2026 +0200 +++ b/ui/cocoa/MainWindow.h Sat Jun 06 18:37:04 2026 +0200 @@ -38,7 +38,8 @@ @property (strong) NSView *rightPanel; @property int topOffset; -- (MainWindow*)init:(UiObject*)obj withSidebar:(BOOL)hasSidebar withSplitview:(BOOL)hasSplitview; +- (MainWindow*)init:(UiObject*)obj withSidebar:(BOOL)hasSidebar withSplitview:(BOOL)hasSplitview width:(int)width height:(int)height; +- (void) saveWindowSize; @end