Commit 0960fdd2 by Daniel Dahan

working on NavigationBarView layout

parent 1986b113
...@@ -92,7 +92,7 @@ public class NavigationBarView: MaterialView { ...@@ -92,7 +92,7 @@ public class NavigationBarView: MaterialView {
if nil != contentInsetsRef { if nil != contentInsetsRef {
removeConstraints(constraints) removeConstraints(constraints)
MaterialLayout.alignToParentHorizontallyWithPad(self, child: titleLabel!, left: contentInsetsRef!.left, right: contentInsetsRef!.right) MaterialLayout.alignToParentHorizontallyWithPad(self, child: titleLabel!, left: contentInsetsRef!.left, right: contentInsetsRef!.right)
MaterialLayout.alignFromBottom(self, child: titleLabel!, bottom: contentInsetsRef!.bottom) MaterialLayout.alignToParentVerticallyWithPad(self, child: titleLabel!, top: contentInsetsRef!.top, bottom: contentInsetsRef!.bottom)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment