From a0b841067e130683e64733dc19348c4ca2073adc Mon Sep 17 00:00:00 2001 From: Julien Chaumond Date: Wed, 10 Jun 2015 23:04:59 +0200 Subject: [PATCH] If you want padding those should be negative --- docs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs.md b/docs.md index 68c7701..c0c8bbf 100644 --- a/docs.md +++ b/docs.md @@ -83,8 +83,8 @@ superview.addSubview(box) box.snp_makeConstraints { (make) -> Void in make.top.equalTo(superview).offset(20) make.left.equalTo(superview).offset(20) - make.bottom.equalTo(superview).offset(20) - make.right.equalTo(superview).offset(20) + make.bottom.equalTo(superview).offset(-20) + make.right.equalTo(superview).offset(-20) } ```