diff options
Diffstat (limited to 'checkbox.go')
| -rw-r--r-- | checkbox.go | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/checkbox.go b/checkbox.go index 65e25c4..2ca81cd 100644 --- a/checkbox.go +++ b/checkbox.go @@ -68,8 +68,14 @@ func (c *Checkbox) make(window *sysData) error { return nil } -func (c *Checkbox) setRect(x int, y int, width int, height int, winheight int) error { - return c.sysData.setRect(x, y, width, height, winheight) +func (c *Checkbox) setRect(x int, y int, width int, height int) []resizerequest { + return []resizerequest{resizerequest{ + sysData: c.sysData, + x: x, + y: y, + width: width, + height: height, + }} } func (c *Checkbox) preferredSize() (width int, height int) { |
