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