Browse Source

prevent subtitle from being cut off due to a smaller chat main title

cyberta 2 năm trước cách đây
mục cha
commit
5dd1f408a3
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      deltachat-ios/View/ChatTitleView.swift

+ 1 - 0
deltachat-ios/View/ChatTitleView.swift

@@ -37,6 +37,7 @@ class ChatTitleView: UIView {
         subtitleLabel.translatesAutoresizingMaskIntoConstraints = false
         subtitleLabel.font = UIFont.systemFont(ofSize: 12)
         subtitleLabel.textAlignment = .center
+        subtitleLabel.setContentCompressionResistancePriority(.required, for: .horizontal)
         return subtitleLabel
     }()