Temporary additions

This commit is contained in:
Pfeil, Scott Robert 2020-03-21 09:50:11 -04:00
parent e3cf14f898
commit 77dc590a72
4 changed files with 6 additions and 7 deletions

View File

@ -38,6 +38,7 @@ import UIKit
//-----------------------------------------------------
override open func setupView() {
super.setupView()
leftImage.addSizeConstraintsForAspectRatio = true
addMolecule(stack)
stack.restack()
eyebrowHeadlineBodyLink.body.textColor = .mvmOrangeAA

View File

@ -36,6 +36,7 @@ import Foundation
//-------------------------------------------------------
override open func setupView() {
super.setupView()
rightImage.addSizeConstraintsForAspectRatio = true
addMolecule(stack)
stack.restack()
}

View File

@ -18,12 +18,10 @@ import UIKit
open override func setupView() {
super.setupView()
guard subviews.count == 0 else {
return
}
headlineBody.headlineLabel.styleB1(true)
headlineBody.spaceBetweenLabelsConstant = 0
imageView.addSizeConstraintsForAspectRatio = true
addSubview(headlineBody)
addSubview(imageView)

View File

@ -27,12 +27,11 @@ import Foundation
open override func setupView() {
super.setupView()
guard subviews.count == 0 else {
return
}
heightConstraint = heightAnchor.constraint(equalToConstant: Self.heightConstant)
heightConstraint?.isActive = true
backgroundImageView.addSizeConstraintsForAspectRatio = true
let container = MVMCoreUICommonViewsUtility.commonView()
addAndContain(container)