summaryrefslogtreecommitdiff
path: root/button.go
diff options
context:
space:
mode:
Diffstat (limited to 'button.go')
-rw-r--r--button.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/button.go b/button.go
index 7f15d25..56d9c67 100644
--- a/button.go
+++ b/button.go
@@ -75,6 +75,6 @@ func (b *Button) setRect(x int, y int, width int, height int, rr *[]resizereques
})
}
-func (b *Button) preferredSize() (width int, height int) {
+func (b *Button) preferredSize() (width int, height int, yoff int) {
return b.sysData.preferredSize()
}