Added missing anchor flag to support resizing of window

dev
Armando Rivera 3 years ago
parent 08342e5372
commit 0e239c2e03
  1. 1
      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)

Loading…
Cancel
Save