Commit 5d842821 by Daniel Dahan

development: issue-526 fixed issue where center alignment was not handled…

development: issue-526 fixed issue where center alignment was not handled correctly when toggling to left and right alignments
parent 18baf2bb
......@@ -207,6 +207,7 @@ open class ContentView: View {
contentView.grid.offset.columns = rc - lc
} else {
contentView.grid.columns = columns - 2 * lc
contentView.grid.offset.columns = 0
rightViews.first?.grid.offset.columns = lc - rc
}
} else {
......
......@@ -239,6 +239,7 @@ open class NavigationBar: UINavigationBar {
item.contentView.grid.offset.columns = rc - lc
} else {
item.contentView.grid.columns = columns - 2 * lc
item.contentView.grid.offset.columns = 0
item.rightViews.first?.grid.offset.columns = lc - rc
}
} else {
......
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