소스 검색

Merge pull request #1069 from deltachat/add-top-border

add top padding to 'Show full message' button
cyBerta 4 년 전
부모
커밋
c8978fe14d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      deltachat-ios/Chat/Views/Cells/BaseMessageCell.swift

+ 1 - 0
deltachat-ios/Chat/Views/Cells/BaseMessageCell.swift

@@ -136,6 +136,7 @@ public class BaseMessageCell: UITableViewCell {
         button.addTarget(self, action: #selector(onFullMessageButtonTapped), for: .touchUpInside)
         button.titleLabel?.font = UIFont.preferredFont(for: .body, weight: .regular)
         button.titleLabel?.adjustsFontForContentSizeCategory = true
+        button.contentEdgeInsets = UIEdgeInsets(top: 8, left: 0, bottom: 0, right: 0)
         button.accessibilityLabel = String.localized("show_full_message")
         return button
     }()