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.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'container.go') diff --git a/container.go b/container.go index ac6a354..143985c 100644 --- a/container.go +++ b/container.go @@ -32,9 +32,11 @@ type controlSizing interface { // All containers must embed containerbase. type containerbase struct { child Control - spaced bool } +// set to true to apply spacing to all windows +var spaced bool = false + func (c *container) resize(x, y, width, height int) { if c.child == nil { // no children; nothing to do return -- cgit v1.2.3