summaryrefslogtreecommitdiff
path: root/combobox.go
diff options
context:
space:
mode:
Diffstat (limited to 'combobox.go')
-rw-r--r--combobox.go10
1 files changed, 8 insertions, 2 deletions
diff --git a/combobox.go b/combobox.go
index 41960c4..ae2edfd 100644
--- a/combobox.go
+++ b/combobox.go
@@ -143,8 +143,14 @@ func (c *Combobox) make(window *sysData) (err error) {
return nil
}
-func (c *Combobox) setRect(x int, y int, width int, height int, winheight int) error {
- return c.sysData.setRect(x, y, width, height, winheight)
+func (c *Combobox) 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 *Combobox) preferredSize() (width int, height int) {