updateds
This commit is contained in:
parent
a5febf586c
commit
f71117586f
@ -59,7 +59,7 @@ open class HeadlineBody: View {
|
|||||||
func stylePageHeader() {
|
func stylePageHeader() {
|
||||||
headlineLabel.setFontStyle(.BoldTitleLarge)
|
headlineLabel.setFontStyle(.BoldTitleLarge)
|
||||||
messageLabel.setFontStyle(.RegularBodySmall)
|
messageLabel.setFontStyle(.RegularBodySmall)
|
||||||
spaceBetweenLabelsConstant = Padding.Two
|
spaceBetweenLabelsConstant = Padding.One
|
||||||
}
|
}
|
||||||
|
|
||||||
func styleListItem() {
|
func styleListItem() {
|
||||||
@ -90,7 +90,9 @@ open class HeadlineBody: View {
|
|||||||
addSubview(messageLabel)
|
addSubview(messageLabel)
|
||||||
|
|
||||||
headlineLabel.setContentCompressionResistancePriority(.required, for: .vertical)
|
headlineLabel.setContentCompressionResistancePriority(.required, for: .vertical)
|
||||||
|
headlineLabel.setContentHuggingPriority(.required, for: .vertical)
|
||||||
messageLabel.setContentCompressionResistancePriority(.required, for: .vertical)
|
messageLabel.setContentCompressionResistancePriority(.required, for: .vertical)
|
||||||
|
messageLabel.setContentHuggingPriority(.required, for: .vertical)
|
||||||
|
|
||||||
headlineLabel.topAnchor.constraint(equalTo: topAnchor).isActive = true
|
headlineLabel.topAnchor.constraint(equalTo: topAnchor).isActive = true
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user