forked from shadowfacts/Tusker
Improve padding on multi-line poll options
This commit is contained in:
parent
b917120f17
commit
10a3cbbe9c
|
@ -82,8 +82,8 @@ class PollOptionView: UIView {
|
||||||
checkbox.centerYAnchor.constraint(equalTo: centerYAnchor),
|
checkbox.centerYAnchor.constraint(equalTo: centerYAnchor),
|
||||||
checkbox.leadingAnchor.constraint(equalTo: leadingAnchor, constant: 8),
|
checkbox.leadingAnchor.constraint(equalTo: leadingAnchor, constant: 8),
|
||||||
|
|
||||||
label.topAnchor.constraint(equalTo: topAnchor),
|
label.topAnchor.constraint(equalTo: topAnchor, constant: 4),
|
||||||
label.bottomAnchor.constraint(equalTo: bottomAnchor),
|
label.bottomAnchor.constraint(equalTo: bottomAnchor, constant: -4),
|
||||||
label.leadingAnchor.constraint(equalTo: checkbox.trailingAnchor, constant: 8),
|
label.leadingAnchor.constraint(equalTo: checkbox.trailingAnchor, constant: 8),
|
||||||
label.trailingAnchor.constraint(equalTo: percentLabel.leadingAnchor, constant: -4),
|
label.trailingAnchor.constraint(equalTo: percentLabel.leadingAnchor, constant: -4),
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue