Explorar el Código

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

cyberta hace 2 años
padre
commit
5dd1f408a3
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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
     }()