From 99feed762802516b74ab8b251cf376f3affa6cbb Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 15 Feb 2014 13:07:46 -0500 Subject: Removed setting the initial width and height in sysData.make() (this gets rid of the dummy 300x300 sizes from the controls) and added an explicit sysData.setWindowSize() to Window.Open() to ensure everything's sized properly. --- sysdata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdata.go') diff --git a/sysdata.go b/sysdata.go index 929c015..a49db08 100644 --- a/sysdata.go +++ b/sysdata.go @@ -12,7 +12,7 @@ type cSysData struct { resize func(x int, y int, width int, height int) error alternate bool // editable for Combobox, multi-select for listbox } -func (c *cSysData) make(initText string, initWidth int, initHeight int, window *sysData) error { +func (c *cSysData) make(initText string, window *sysData) error { panic(runtime.GOOS + " sysData does not define make()") } func (c *cSysData) show() error { -- cgit v1.2.3