From 39f0c352fbeeb4119aedeee1a5974f4d411339c8 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 25 Jun 2014 11:58:13 -0400 Subject: Added the necessary work to make new regular Labels work on the other platforms. --- button.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'button.go') 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() } -- cgit v1.2.3