Commit 12dd2dc9 authored by pete谢兆麟's avatar pete谢兆麟

布局优化

parent 1dc1ef69
......@@ -33,6 +33,7 @@ class YHMakePlanTopView: UIView {
private let percentageLabel: UILabel = {
let label = UILabel()
label.textAlignment = .right
return label
}()
......@@ -79,7 +80,7 @@ class YHMakePlanTopView: UIView {
}
percentageLabel.snp.makeConstraints { make in
make.left.equalTo(self.snp.centerX)
make.right.equalTo(-34)
make.height.equalTo(24)
make.top.equalTo(18)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment