From 53db57745f2b0bdb0d6097d6d12d3d7af8f6c639 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 24 Feb 2014 10:56:35 -0500 Subject: Added Control.preferredSize() and preferredSize() for all the standard Controls. --- control.go | 1 + 1 file changed, 1 insertion(+) (limited to 'control.go') diff --git a/control.go b/control.go index 16f94bb..1c610b1 100644 --- a/control.go +++ b/control.go @@ -9,4 +9,5 @@ import ( type Control interface { make(window *sysData) error setRect(x int, y int, width int, height int) error + preferredSize() (width int, height int, err error) } -- cgit v1.2.3