diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-14 13:44:24 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-14 13:44:24 -0400 |
| commit | cf604f7b05bf003f0cb9a28980960baf1271ebbc (patch) | |
| tree | 1bb7e70e6e135a5cfb4aa60b92c75bc22b67d1c0 /redo/container_darwin.go | |
| parent | c187aa59b951b623f8156dac76b3396e133cfd05 (diff) | |
Fine-tuned margin/spacing values on Mac OS X. Also more future plans.
Diffstat (limited to 'redo/container_darwin.go')
| -rw-r--r-- | redo/container_darwin.go | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/redo/container_darwin.go b/redo/container_darwin.go index a1096f1..4936a62 100644 --- a/redo/container_darwin.go +++ b/redo/container_darwin.go @@ -39,13 +39,12 @@ func containerResized(data unsafe.Pointer, width C.intptr_t, height C.intptr_t) c.resize(0, 0, int(width), int(height)) } -// THIS IS A GUESS. TODO. -// The only indication that this is remotely correct is the Auto Layout Guide implying that 12 pixels is the "Aqua space". +// These are based on measurements from Interface Builder. const ( - macXMargin = 12 - macYMargin = 12 - macXPadding = 12 - macYPadding = 12 + macXMargin = 20 + macYMargin = 20 + macXPadding = 8 + macYPadding = 8 ) func (c *container) beginResize() (d *sizing) { |
