summaryrefslogtreecommitdiff
path: root/button.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-25 11:58:13 -0400
committerPietro Gagliardi <[email protected]>2014-06-25 11:58:13 -0400
commit39f0c352fbeeb4119aedeee1a5974f4d411339c8 (patch)
tree4d9362dd1313c5b3dd5cd1e417e8a332b057cf83 /button.go
parent55c636b1e3823ec73a9b10d78a03528a54e63bb1 (diff)
Added the necessary work to make new regular Labels work on the other platforms.
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()
}