From 1b070b3f107b8d421d3c3dc709d2da98c99db692 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 12 Oct 2014 11:54:58 -0400 Subject: Revert "Began making the spaced property per-container." Things are more complicated here than it's worth. Will need to tear everything apart and redo the whole control hierarchy. Sigh... This reverts commit ea391ef84109f42f7b5cf51b4976845e9320aa3f. --- container_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'container_windows.go') diff --git a/container_windows.go b/container_windows.go index 39e1a5c..99be1c2 100644 --- a/container_windows.go +++ b/container_windows.go @@ -122,7 +122,7 @@ func (c *container) beginResize() (d *sizing) { d.baseY = baseY d.internalLeading = internalLeading - if c.spaced { + if spaced { d.xmargin = fromdlgunitsX(marginDialogUnits, d) d.ymargintop = fromdlgunitsY(marginDialogUnits, d) d.ymarginbottom = d.ymargintop -- cgit v1.2.3