summaryrefslogtreecommitdiff
path: root/button.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-06-25 23:21:57 -0400
committerPietro Gagliardi <[email protected]>2014-06-25 23:21:57 -0400
commit1eeadc000ae796bd022879196c4f2bae3bb189de (patch)
treee63f905f533f183935850b04f5ab8356e06e7084 /button.go
parent9a3e73b46001219177bb13a381420007217dfecf (diff)
Made the new sizing system work on Windows.
Diffstat (limited to 'button.go')
-rw-r--r--button.go2
1 files changed, 1 insertions, 1 deletions
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) {