summaryrefslogtreecommitdiff
path: root/container.go
diff options
context:
space:
mode:
Diffstat (limited to 'container.go')
-rw-r--r--container.go4
1 files changed, 3 insertions, 1 deletions
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