Commit 744c261a by Daniel Dahan

memory: updated Bar default contentViewAlignment to .any

parent 620fc2b8
......@@ -47,7 +47,7 @@ open class Bar: View {
}
/// Should center the contentView.
open var contentViewAlignment = ContentViewAlignment.center {
open var contentViewAlignment = ContentViewAlignment.any {
didSet {
layoutSubviews()
}
......
......@@ -149,6 +149,7 @@ open class Toolbar: Bar {
open override func prepare() {
super.prepare()
zPosition = 1000
contentViewAlignment = .center
prepareTitleLabel()
prepareDetailLabel()
}
......
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