summaryrefslogtreecommitdiff
path: root/checkbox.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-15 13:07:46 -0500
committerPietro Gagliardi <[email protected]>2014-02-15 13:07:46 -0500
commit99feed762802516b74ab8b251cf376f3affa6cbb (patch)
tree72fdb7c0dd983ed4bf7c45e74b36d161737452cc /checkbox.go
parent32e70f64143b840292b4f763ede9585d792aaccb (diff)
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.
Diffstat (limited to 'checkbox.go')
-rw-r--r--checkbox.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkbox.go b/checkbox.go
index 017b81a..dc148e2 100644
--- a/checkbox.go
+++ b/checkbox.go
@@ -53,7 +53,7 @@ func (c *Checkbox) make(window *sysData) error {
c.lock.Lock()
defer c.lock.Unlock()
- err := c.sysData.make(c.initText, 300, 300, window)
+ err := c.sysData.make(c.initText, window)
if err != nil {
return err
}