修改金币超出问题
This commit is contained in:
@@ -226,6 +226,7 @@
|
|||||||
[self.pointsLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
[self.pointsLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
make.left.equalTo(self.pointsIconView.mas_right).offset(8);
|
make.left.equalTo(self.pointsIconView.mas_right).offset(8);
|
||||||
make.centerY.equalTo(self.pointsIconView).offset(0);
|
make.centerY.equalTo(self.pointsIconView).offset(0);
|
||||||
|
make.right.lessThanOrEqualTo(self.rechargeButton.mas_left).offset(-12);
|
||||||
}];
|
}];
|
||||||
|
|
||||||
[self.rechargeButton mas_makeConstraints:^(MASConstraintMaker *make) {
|
[self.rechargeButton mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
@@ -275,6 +276,9 @@
|
|||||||
_pointsLabel.text = @"0";
|
_pointsLabel.text = @"0";
|
||||||
_pointsLabel.font = [KBFont bold:40];
|
_pointsLabel.font = [KBFont bold:40];
|
||||||
_pointsLabel.textColor = [UIColor colorWithHex:0x02BEAC];
|
_pointsLabel.textColor = [UIColor colorWithHex:0x02BEAC];
|
||||||
|
_pointsLabel.adjustsFontSizeToFitWidth = YES;
|
||||||
|
_pointsLabel.minimumScaleFactor = 0.6;
|
||||||
|
_pointsLabel.numberOfLines = 1;
|
||||||
}
|
}
|
||||||
return _pointsLabel;
|
return _pointsLabel;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -139,6 +139,7 @@
|
|||||||
[self.amountLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
[self.amountLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
make.left.equalTo(self.smallCoinView.mas_right).offset(10);
|
make.left.equalTo(self.smallCoinView.mas_right).offset(10);
|
||||||
make.centerY.equalTo(self.rechargeButton);
|
make.centerY.equalTo(self.rechargeButton);
|
||||||
|
make.right.lessThanOrEqualTo(self.rechargeButton.mas_left).offset(-12);
|
||||||
}];
|
}];
|
||||||
|
|
||||||
[self.rechargeButton mas_makeConstraints:^(MASConstraintMaker *make) {
|
[self.rechargeButton mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
@@ -303,7 +304,8 @@
|
|||||||
_amountLabel.textColor = [UIColor colorWithHex:KBColorValue];
|
_amountLabel.textColor = [UIColor colorWithHex:KBColorValue];
|
||||||
_amountLabel.font = [KBFont bold:40];
|
_amountLabel.font = [KBFont bold:40];
|
||||||
_amountLabel.adjustsFontSizeToFitWidth = YES;
|
_amountLabel.adjustsFontSizeToFitWidth = YES;
|
||||||
// _amountLabel.minimumScaleFactor = 0.7;
|
_amountLabel.minimumScaleFactor = 0.6;
|
||||||
|
_amountLabel.numberOfLines = 1;
|
||||||
}
|
}
|
||||||
return _amountLabel;
|
return _amountLabel;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user