diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-10 21:29:05 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-10 21:29:05 -0400 |
| commit | a25ffeb3343907e679773d74e4e76f6ed420b9a8 (patch) | |
| tree | f11abe05c722b1106bba4f59ff04ed430dae22ae | |
| parent | 94b621855c2e56df3b34f47a4c4bb4afcb14e53d (diff) | |
More TODO resolution.
| -rw-r--r-- | new/container_darwin.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/new/container_darwin.m b/new/container_darwin.m index c3fd938..be49659 100644 --- a/new/container_darwin.m +++ b/new/container_darwin.m @@ -31,10 +31,12 @@ uiLogObjCClassAllocations } // These are based on measurements from Interface Builder. -// TODO reverify these against /layout rects/, not /frame rects/ +// These seem to be based on Auto Layout constants, but I don't see an API that exposes these... #define macXMargin 20 #define macYMargin 20 +// This one is 8 for most pairs of controls that I've tried; the only difference is between two pushbuttons, where it's 12... #define macXPadding 8 +// Likewise, this one appears to be 12 for pairs of push buttons... #define macYPadding 8 - (void)uiUpdateNow |
