padding correction.
This commit is contained in:
parent
fd8b8fb7b7
commit
444fbc65f5
@ -118,11 +118,9 @@ import UIKit
|
|||||||
imageLoader.updateView(size)
|
imageLoader.updateView(size)
|
||||||
leftContainer.updateView(size)
|
leftContainer.updateView(size)
|
||||||
|
|
||||||
let titleMessagePadding = title.hasText ? bottomTitlePadding : 0
|
let topPadding = title.hasText ? bottomTitlePadding : 0
|
||||||
let messageButtonPadding = message.hasText ? titleMessagePadding : 0
|
messageTopConstraint?.constant = topPadding
|
||||||
|
buttonTopConstraint?.constant = message.hasText ? PaddingTwo : topPadding
|
||||||
messageTopConstraint?.constant = messageButtonPadding
|
|
||||||
buttonTopConstraint?.constant = message.hasText ? PaddingTwo : messageButtonPadding
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override static func estimatedHeight(forRow json: [AnyHashable: Any]?, delegateObject: MVMCoreUIDelegateObject?) -> CGFloat {
|
public override static func estimatedHeight(forRow json: [AnyHashable: Any]?, delegateObject: MVMCoreUIDelegateObject?) -> CGFloat {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user