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() { override open func setupView() {
super.setupView() super.setupView()
leftImage.addSizeConstraintsForAspectRatio = true
addMolecule(stack) addMolecule(stack)
stack.restack() stack.restack()
eyebrowHeadlineBodyLink.body.textColor = .mvmOrangeAA eyebrowHeadlineBodyLink.body.textColor = .mvmOrangeAA

View File

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

View File

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

View File

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