From ea391ef84109f42f7b5cf51b4976845e9320aa3f Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 11 Oct 2014 20:16:38 -0400 Subject: Began making the spaced property per-container. --- container.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'container.go') diff --git a/container.go b/container.go index 143985c..ac6a354 100644 --- a/container.go +++ b/container.go @@ -32,11 +32,9 @@ 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