Przeglądaj źródła

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

cyberta 2 lat temu
rodzic
commit
5dd1f408a3
1 zmienionych plików z 1 dodań i 0 usunięć
  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
     }()