mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-25 17:50:59 +00:00
Fix image sizing
This commit is contained in:
parent
ab9cdc48ee
commit
f0a7f52550
2 changed files with 3 additions and 1 deletions
|
@ -84,6 +84,8 @@ final class AccountFieldView: UIView {
|
||||||
checkButton.tintColor = .systemGreen
|
checkButton.tintColor = .systemGreen
|
||||||
checkButton.isHidden = verifiedAt == nil
|
checkButton.isHidden = verifiedAt == nil
|
||||||
checkButton.showsMenuAsPrimaryAction = true
|
checkButton.showsMenuAsPrimaryAction = true
|
||||||
|
checkButton.setContentCompressionResistancePriority(.required, for: .horizontal)
|
||||||
|
checkButton.setContentHuggingPriority(.required, for: .horizontal)
|
||||||
|
|
||||||
if let verifiedAt = verifiedAt {
|
if let verifiedAt = verifiedAt {
|
||||||
checkButton.menu = UIMenu(
|
checkButton.menu = UIMenu(
|
||||||
|
|
|
@ -48,5 +48,5 @@ extension PollOptionButton {
|
||||||
}
|
}
|
||||||
|
|
||||||
private extension PollOptionButton {
|
private extension PollOptionButton {
|
||||||
static let titleEdgeInsets = UIEdgeInsets(top: 0, left: .compactSpacing, bottom: 0, right: .compactSpacing)
|
static let titleEdgeInsets = UIEdgeInsets(top: 0, left: .defaultSpacing, bottom: 0, right: .compactSpacing)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue