summaryrefslogtreecommitdiff
path: root/container_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'container_windows.go')
-rw-r--r--container_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/container_windows.go b/container_windows.go
index 99be1c2..39e1a5c 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 spaced {
+ if c.spaced {
d.xmargin = fromdlgunitsX(marginDialogUnits, d)
d.ymargintop = fromdlgunitsY(marginDialogUnits, d)
d.ymarginbottom = d.ymargintop