summaryrefslogtreecommitdiff
path: root/container.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-11 20:16:38 -0400
committerPietro Gagliardi <[email protected]>2014-10-11 20:16:38 -0400
commitea391ef84109f42f7b5cf51b4976845e9320aa3f (patch)
tree219c446f86720064f3704ff19583dd921fb2e6d7 /container.go
parent99101c026469b579f3077401254c1b33ab0f1a59 (diff)
Began making the spaced property per-container.
Diffstat (limited to 'container.go')
-rw-r--r--container.go4
1 files changed, 1 insertions, 3 deletions
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