mirror of
https://github.com/Burrit0z/kai
synced 2025-07-02 07:16:47 +00:00
closer
This commit is contained in:
6
Kai.xm
6
Kai.xm
@ -112,8 +112,10 @@ CGRect originalBattery;
|
|||||||
[[self stackView] addConstraint:globalC];
|
[[self stackView] addConstraint:globalC];
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
//[battery.widthAnchor constraintEqualToConstant:(battery.number * 85)].active = YES;
|
battery.heightConstraint.active = NO;
|
||||||
|
battery.heightConstraint = [battery.heightAnchor constraintEqualToConstant:(battery.number * 85)];
|
||||||
|
battery.heightConstraint.active = YES;
|
||||||
|
|
||||||
/*battery.frame = CGRectMake(
|
/*battery.frame = CGRectMake(
|
||||||
originalBattery.origin.x,
|
originalBattery.origin.x,
|
||||||
originalBattery.origin.y,
|
originalBattery.origin.y,
|
||||||
|
Reference in New Issue
Block a user