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. --- listbox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'listbox.go') diff --git a/listbox.go b/listbox.go index 6c8b149..dc4cb70 100644 --- a/listbox.go +++ b/listbox.go @@ -160,6 +160,6 @@ func (l *Listbox) setRect(x int, y int, width int, height int, rr *[]resizereque }) } -func (l *Listbox) preferredSize() (width int, height int) { +func (l *Listbox) preferredSize() (width int, height int, yoff int) { return l.sysData.preferredSize() } -- cgit v1.2.3