From 1eeadc000ae796bd022879196c4f2bae3bb189de Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 25 Jun 2014 23:21:57 -0400 Subject: Made the new sizing system work on Windows. --- button.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'button.go') diff --git a/button.go b/button.go index 1a352dd..96a68ed 100644 --- a/button.go +++ b/button.go @@ -80,7 +80,7 @@ func (b *Button) preferredSize(d *sysSizeData) (width int, height int) { } func (b *Button) commitResize(a *allocation, d *sysSizeData) { - b.sysData.preferredSize(a, d) + b.sysData.commitResize(a, d) } func (b *Button) getAuxResizeInfo(d *sysSizeData) { -- cgit v1.2.3