fixed app image looking stretched
This commit is contained in:
parent
fe131af464
commit
a754b55753
1 changed files with 2 additions and 2 deletions
|
|
@ -30,8 +30,8 @@ static int LABEL_DY = 20;
|
|||
|
||||
[self addSubview:_appButton];
|
||||
[self sizeToFit];
|
||||
_appButton.frame = CGRectMake(0, 0, noImage.size.width / 2, noImage.size.height / 2);
|
||||
self.frame = CGRectMake(0, 0, noImage.size.width / 2, noImage.size.height / 2);
|
||||
_appButton.frame = CGRectMake(0, 0, noImage.size.width, noImage.size.height);
|
||||
self.frame = CGRectMake(0, 0, noImage.size.width, noImage.size.height);
|
||||
|
||||
return self;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue