예제 #1
0
 public static FluentLayout Above(this UIView view, UIView previous, nfloat?margin = null) =>
 view.Bottom().EqualTo().TopOf(previous).Minus(margin.GetValueOrDefault(DefaultMargin));
예제 #2
0
 public static FluentLayout WithSameBottom(this UIView view, UIView previous) => view.Bottom().EqualTo().BottomOf(previous);
예제 #3
0
 public static FluentLayout AtBottomOf(this UIView view, UIView parentView, nfloat?margin = null) =>
 view.Bottom().EqualTo().BottomOf(parentView).Minus(margin.GetValueOrDefault(DefaultMargin));