summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--new/container_darwin.m4
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