pinned top/bottom as well as leading/trailing
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
55885c80ba
commit
045babc965
@ -37,10 +37,7 @@ open class Line: View {
|
|||||||
|
|
||||||
addSubview(lineView)
|
addSubview(lineView)
|
||||||
lineView.height(1)
|
lineView.height(1)
|
||||||
|
lineView.pinToSuperView()
|
||||||
lineView
|
|
||||||
.pinLeading()
|
|
||||||
.pinTrailing()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
open override func reset() {
|
open override func reset() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user