summaryrefslogtreecommitdiff
path: root/redo/container_darwin.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-24 21:23:19 -0400
committerPietro Gagliardi <[email protected]>2014-08-24 21:23:19 -0400
commitf9c5c41c77506142eef2461dd75b2178fc5b598a (patch)
treed4d0e86b35e166c85ee975510c95e317e0e9f149 /redo/container_darwin.go
parent01db831c4c40959504d46e14e0845eb179759013 (diff)
Split ymargin into top and bottom margins to accomodate Groups on Windows; fixed those.
Diffstat (limited to 'redo/container_darwin.go')
-rw-r--r--redo/container_darwin.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/redo/container_darwin.go b/redo/container_darwin.go
index 4936a62..8b98b64 100644
--- a/redo/container_darwin.go
+++ b/redo/container_darwin.go
@@ -51,7 +51,8 @@ func (c *container) beginResize() (d *sizing) {
d = new(sizing)
if spaced {
d.xmargin = macXMargin
- d.ymargin = macYMargin
+ d.ymargintop = macYMargin
+ d.ymarginbottom = d.ymargintop
d.xpadding = macXPadding
d.ypadding = macYPadding
}