height change
This commit is contained in:
parent
3c24714444
commit
d44a193ff0
@ -55,8 +55,6 @@ open class Step: View {
|
||||
stateImage.leadingAnchor.constraint(equalTo: leadingAnchor).isActive = true
|
||||
stateImage.heightAnchor.constraint(equalToConstant: 18).isActive = true
|
||||
stateImage.widthAnchor.constraint(equalToConstant: 18).isActive = true
|
||||
imageBottomConstraint = bottomAnchor.constraint(greaterThanOrEqualTo: stateImage.bottomAnchor, constant: Padding.Ten)
|
||||
imageBottomConstraint?.isActive = true
|
||||
|
||||
headline.topAnchor.constraint(equalTo: topAnchor, constant: 2).isActive = true
|
||||
headline.leadingAnchor.constraint(equalTo: stateImage.trailingAnchor, constant: Padding.Four).isActive = true
|
||||
@ -72,6 +70,10 @@ open class Step: View {
|
||||
let bodyBottomConstraint = bottomAnchor.constraint(greaterThanOrEqualTo: bodyBottom.bottomAnchor)
|
||||
bodyBottomConstraint.priority = .defaultHigh
|
||||
bodyBottomConstraint.isActive = true
|
||||
|
||||
let heightConstraint = heightAnchor.constraint(equalToConstant: 58)
|
||||
heightConstraint.priority = .defaultLow
|
||||
heightConstraint.isActive = true
|
||||
}
|
||||
|
||||
public override func reset() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user