mirror of
https://github.com/Airr/nim-cocoa.git
synced 2024-11-24 09:45:30 +00:00
Added missing anchor flag to support resizing of window
This commit is contained in:
parent
08342e5372
commit
0e239c2e03
@ -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…
Reference in New Issue
Block a user