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. --- label.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'label.go') diff --git a/label.go b/label.go index 6d9ed3b..ca17aca 100644 --- a/label.go +++ b/label.go @@ -89,7 +89,7 @@ func (l *Label) preferredSize(d *sysSizeData) (width int, height int) { } func (l *Label) commitResize(a *allocation, d *sysSizeData) { - l.sysData.preferredSize(a, d) + l.sysData.commitResize(a, d) } func (l *Label) getAuxResizeInfo(d *sysSizeData) { -- cgit v1.2.3