From 0e239c2e0315b8dd29478fd8e56700dbc38e0ac5 Mon Sep 17 00:00:00 2001 From: Armando Rivera Date: Tue, 3 Aug 2021 22:43:35 -0400 Subject: [PATCH] Added missing anchor flag to support resizing of window --- examples/editor.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/editor.nim b/examples/editor.nim index cc28c34..1a69399 100644 --- a/examples/editor.nim +++ b/examples/editor.nim @@ -47,6 +47,7 @@ Cocoa_Init() self.window = newWindow("Template", width, height, winStyle) self.editor = newTextEdit(self.window,"", 20, 20, width-40, height-40) +self.editor.anchor = akFull setupMenus() Cocoa_Run(self.window)