mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 19:34:25 +02:00
BubbleRoomCellLayoutConstants: Update constants and add new ones.
This commit is contained in:
+18
-1
@@ -21,9 +21,26 @@ import Foundation
|
||||
@objcMembers
|
||||
final class BubbleRoomCellLayoutConstants: NSObject {
|
||||
|
||||
/// Inner content view margins
|
||||
static let innerContentViewMargins: UIEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 5.0, right: 0)
|
||||
|
||||
// Text message bubbles margins from cell content view
|
||||
|
||||
static let outgoingBubbleBackgroundMargins: UIEdgeInsets = UIEdgeInsets(top: 0, left: 80, bottom: 0, right: 34)
|
||||
|
||||
static let incomingBubbleBackgroundMargins: UIEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 80)
|
||||
static let incomingBubbleBackgroundMargins: UIEdgeInsets = UIEdgeInsets(top: 0, left: 48, bottom: 0, right: 80)
|
||||
|
||||
static let bubbleTextViewInsets: UIEdgeInsets = UIEdgeInsets(top: 5, left: 5, bottom: 5, right: 45)
|
||||
|
||||
// Voice message
|
||||
|
||||
static let voiceMessagePlaybackViewRightMargin: CGFloat = 40
|
||||
|
||||
// Polls
|
||||
|
||||
static let pollBubbleBackgroundInsets: UIEdgeInsets = UIEdgeInsets(top: 2, left: 10, bottom: 0, right: 10)
|
||||
|
||||
// Decoration margins
|
||||
|
||||
static let threadSummaryViewMargins: UIEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 5, right: 0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user