mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-15 21:22:40 +00:00
fixed app image looking stretched
This commit is contained in:
@@ -30,8 +30,8 @@ static int LABEL_DY = 20;
|
|||||||
|
|
||||||
[self addSubview:_appButton];
|
[self addSubview:_appButton];
|
||||||
[self sizeToFit];
|
[self sizeToFit];
|
||||||
_appButton.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 / 2, noImage.size.height / 2);
|
self.frame = CGRectMake(0, 0, noImage.size.width, noImage.size.height);
|
||||||
|
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user