Procházet zdrojové kódy

fix percent being cut off

pull/1/head
Burrit0z před 4 roky
rodič
revize
41fecfce7f
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      KAIBattery.mm

+ 2
- 2
KAIBattery.mm Zobrazit soubor



//percentLabel.frame = CGRectMake(self.superview.bounds.size.width - 16 - 94,35 + y,36,12); //percentLabel.frame = CGRectMake(self.superview.bounds.size.width - 16 - 94,35 + y,36,12);
percentLabel.translatesAutoresizingMaskIntoConstraints = NO; 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.centerYAnchor constraintEqualToAnchor:blank.centerYAnchor].active = YES;
[percentLabel.widthAnchor constraintEqualToConstant:35].active = YES;
[percentLabel.widthAnchor constraintEqualToConstant:37].active = YES;
[percentLabel.heightAnchor constraintEqualToConstant:12].active = YES; [percentLabel.heightAnchor constraintEqualToConstant:12].active = YES;


//label.frame = CGRectMake(65.5,27.5 + y,275,25); //label.frame = CGRectMake(65.5,27.5 + y,275,25);

Načítá se…
Zrušit
Uložit