浏览代码

100% no longer gets cut off

pull/1/head
Burrit0z 4 年前
父节点
当前提交
53a8ed1005
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      KAIBatteryCell.mm

+ 1
- 1
KAIBatteryCell.mm 查看文件



self.percentLabel.translatesAutoresizingMaskIntoConstraints = NO; self.percentLabel.translatesAutoresizingMaskIntoConstraints = NO;
[self.percentLabel.centerYAnchor constraintEqualToAnchor:blurPlatter.centerYAnchor].active = YES; [self.percentLabel.centerYAnchor constraintEqualToAnchor:blurPlatter.centerYAnchor].active = YES;
[self.percentLabel.widthAnchor constraintEqualToConstant:32].active = YES;
[self.percentLabel.widthAnchor constraintEqualToConstant:36].active = YES;
[self.percentLabel.heightAnchor constraintEqualToConstant:12].active = YES; [self.percentLabel.heightAnchor constraintEqualToConstant:12].active = YES;


self.label.translatesAutoresizingMaskIntoConstraints = NO; self.label.translatesAutoresizingMaskIntoConstraints = NO;

正在加载...
取消
保存