Temporary additions
This commit is contained in:
parent
e3cf14f898
commit
77dc590a72
@ -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
|
||||||
|
|||||||
@ -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()
|
||||||
}
|
}
|
||||||
|
|||||||
@ -18,12 +18,10 @@ 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)
|
||||||
|
|
||||||
|
|||||||
@ -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)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user