mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-22 16:17:20 +00:00
fixed app image looking stretched
This commit is contained in:
1 parent
fe131af464
commit
a754b55753
1 file changed
+2
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user