forked from zelo72/mastodon-ios
fix: post visibility icon layout issue
This commit is contained in:
parent
62ec9a8e8d
commit
2aede8d461
|
@ -353,7 +353,9 @@ extension StatusView {
|
||||||
nameTrialingDotLabel.setContentCompressionResistancePriority(.required - 2, for: .horizontal)
|
nameTrialingDotLabel.setContentCompressionResistancePriority(.required - 2, for: .horizontal)
|
||||||
dateLabel.setContentHuggingPriority(.defaultHigh, for: .horizontal)
|
dateLabel.setContentHuggingPriority(.defaultHigh, for: .horizontal)
|
||||||
dateLabel.setContentCompressionResistancePriority(.required - 1, for: .horizontal)
|
dateLabel.setContentCompressionResistancePriority(.required - 1, for: .horizontal)
|
||||||
visibilityImageView.setContentHuggingPriority(.defaultHigh + 3, for: .horizontal)
|
visibilityImageView.setContentHuggingPriority(.required - 1, for: .horizontal)
|
||||||
|
visibilityImageView.setContentHuggingPriority(.required - 1, for: .vertical)
|
||||||
|
visibilityImageView.setContentCompressionResistancePriority(.required - 1, for: .horizontal)
|
||||||
|
|
||||||
// subtitle container: [username]
|
// subtitle container: [username]
|
||||||
let subtitleContainerStackView = UIStackView()
|
let subtitleContainerStackView = UIStackView()
|
||||||
|
|
Loading…
Reference in New Issue