Merge branch 'bugfix/header_line' into 'develop'
line fix in header See merge request BPHV_MIPS/mvm_core_ui!185
This commit is contained in:
commit
88e079e6be
@ -26,9 +26,12 @@ public class StandardHeaderView: ViewConstrainingView {
|
||||
bottomMarginPadding = PaddingDefaultVerticalSpacing
|
||||
|
||||
guard line == nil else { return }
|
||||
let line = Line(pinTo: self, edge: .bottom, useMargin: true)
|
||||
let line = Line()
|
||||
line.style = .heavy
|
||||
addSubview(line)
|
||||
NSLayoutConstraint.pinViewBottom(toSuperview: line, useMargins: false, constant: 0).isActive = true
|
||||
NSLayoutConstraint.pinViewLeft(toSuperview: line, useMargins: true, constant: 0).isActive = true
|
||||
NSLayoutConstraint.pinViewRight(toSuperview: line, useMargins: true, constant: 0).isActive = true
|
||||
self.line = line
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user