minor ui bugfixes

This commit is contained in:
Pfeil, Scott Robert 2021-01-12 12:58:32 -05:00
parent 86f397434c
commit 2d2cc92802
4 changed files with 4 additions and 3 deletions

View File

@ -11,7 +11,7 @@
// MARK: - Outlets // MARK: - Outlets
//-------------------------------------------------- //--------------------------------------------------
public let leftImage = LoadImageView() public let leftImage = LoadImageView(pinnedEdges: .all)
public let eyebrowHeadlineBodyLink = EyebrowHeadlineBodyLink() public let eyebrowHeadlineBodyLink = EyebrowHeadlineBodyLink()
public let rightLabel = Label(fontStyle: .RegularBodySmall) public let rightLabel = Label(fontStyle: .RegularBodySmall)

View File

@ -12,7 +12,7 @@
// MARK: - Outlets // MARK: - Outlets
//-------------------------------------------------- //--------------------------------------------------
public let leftImage = LoadImageView() public let leftImage = LoadImageView(pinnedEdges: .all)
public let headlineBody = HeadlineBody() public let headlineBody = HeadlineBody()
public let rightLabel = Label(fontStyle: .RegularBodySmall) public let rightLabel = Label(fontStyle: .RegularBodySmall)
public let rightLabelStackItem: StackItem public let rightLabelStackItem: StackItem

View File

@ -21,7 +21,7 @@
//-------------------------------------------------- //--------------------------------------------------
public override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { public override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
stack = Stack<StackModel>.createStack(with: [(view: eyebrowHeadlineBodyLink, model: StackItemModel(horizontalAlignment: .leading, verticalAlignment: .top)), (view: rightLabel, model: StackItemModel(horizontalAlignment:.fill))], axis: .horizontal) stack = Stack<StackModel>.createStack(with: [(view: eyebrowHeadlineBodyLink, model: StackItemModel(horizontalAlignment: .leading, verticalAlignment: .leading)), (view: rightLabel, model: StackItemModel(horizontalAlignment:.fill))], axis: .horizontal)
super.init(style: style, reuseIdentifier: reuseIdentifier) super.init(style: style, reuseIdentifier: reuseIdentifier)
} }

View File

@ -25,6 +25,7 @@ extension UIStackView: MVMCoreViewProtocol {
item.isHidden = true item.isHidden = true
} }
} }
layoutIfNeeded()
} }
} }