mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 18:12:44 +02:00
TextMessageBaseBubbleCell: Reduce sender name bottom margin.
This commit is contained in:
@@ -24,6 +24,10 @@ final class BubbleRoomCellLayoutConstants: NSObject {
|
||||
/// Inner content view margins
|
||||
static let innerContentViewMargins: UIEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 5.0, right: 0)
|
||||
|
||||
// Sender name margins
|
||||
|
||||
static let senderNameLabelMargins: UIEdgeInsets = UIEdgeInsets(top: 10, left: 0, bottom: 0.0, right: 0)
|
||||
|
||||
// Text message bubbles margins from cell content view
|
||||
|
||||
static let outgoingBubbleBackgroundMargins: UIEdgeInsets = UIEdgeInsets(top: 0, left: 80, bottom: 0, right: 34)
|
||||
|
||||
+2
@@ -40,6 +40,8 @@ class TextMessageBaseBubbleCell: SizableBaseRoomCell, RoomCellURLPreviewDisplaya
|
||||
return
|
||||
}
|
||||
|
||||
roomCellContentView?.userNameLabelBottomConstraint.constant = BubbleRoomCellLayoutConstants.senderNameLabelMargins.bottom
|
||||
|
||||
roomCellContentView?.innerContentViewBottomContraint.constant = BubbleRoomCellLayoutConstants.innerContentViewMargins.bottom
|
||||
|
||||
let textMessageContentView = TextMessageBubbleCellContentView.instantiate()
|
||||
|
||||
Reference in New Issue
Block a user