1
0
mirror of https://github.com/Burrit0z/kai synced 2025-07-01 02:26:48 +00:00

fix percent being cut off

This commit is contained in:
Burrit0z
2020-05-21 16:12:26 -04:00
parent 12f5d2ff5c
commit 41fecfce7f

View File

@ -125,9 +125,9 @@ long long lastPercentage;
//percentLabel.frame = CGRectMake(self.superview.bounds.size.width - 16 - 94,35 + y,36,12);
percentLabel.translatesAutoresizingMaskIntoConstraints = NO;
[percentLabel.leftAnchor constraintEqualToAnchor:blank.rightAnchor constant:(- 94)].active = YES;
[percentLabel.leftAnchor constraintEqualToAnchor:blank.rightAnchor constant:(- 96)].active = YES;
[percentLabel.centerYAnchor constraintEqualToAnchor:blank.centerYAnchor].active = YES;
[percentLabel.widthAnchor constraintEqualToConstant:35].active = YES;
[percentLabel.widthAnchor constraintEqualToConstant:37].active = YES;
[percentLabel.heightAnchor constraintEqualToConstant:12].active = YES;
//label.frame = CGRectMake(65.5,27.5 + y,275,25);