diff --git a/Tusker/Views/Status/StatusCardView.swift b/Tusker/Views/Status/StatusCardView.swift index 6868f3fd..a4c89106 100644 --- a/Tusker/Views/Status/StatusCardView.swift +++ b/Tusker/Views/Status/StatusCardView.swift @@ -43,9 +43,6 @@ class StatusCardView: UIView { } private func commonInit() { -// self.clipsToBounds = true -// self.layer.borderWidth = 0.5 -// self.layer.borderColor = UIColor.lightGray.cgColor self.layer.shadowColor = UIColor.black.cgColor self.layer.shadowRadius = 5 self.layer.shadowOpacity = 0.2 @@ -57,11 +54,12 @@ class StatusCardView: UIView { titleLabel.font = UIFont(descriptor: UIFontDescriptor.preferredFontDescriptor(withTextStyle: .subheadline).withSymbolicTraits(.traitBold)!, size: 0) titleLabel.adjustsFontForContentSizeCategory = true titleLabel.numberOfLines = 2 + titleLabel.setContentHuggingPriority(.defaultHigh, for: .vertical) descriptionLabel = UILabel() descriptionLabel.font = UIFont(descriptor: .preferredFontDescriptor(withTextStyle: .caption1), size: 0) descriptionLabel.adjustsFontForContentSizeCategory = true - descriptionLabel.numberOfLines = 2 + descriptionLabel.numberOfLines = 3 descriptionLabel.setContentCompressionResistancePriority(.defaultLow, for: .vertical) domainLabel = UILabel()