mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-16 21:50:57 +00:00
Fix several UI issues
This commit is contained in:
@@ -112,6 +112,9 @@ static UIImage* noImage;
|
||||
[_appLabel setTextAlignment:NSTextAlignmentCenter];
|
||||
[_appLabel setLineBreakMode:NSLineBreakByWordWrapping];
|
||||
[_appLabel setNumberOfLines:0];
|
||||
#if TARGET_OS_TV
|
||||
[_appLabel setFont:[UIFont systemFontOfSize:16]];
|
||||
#endif
|
||||
[_appLabel setText:_app.name];
|
||||
[_appButton addSubview:_appLabel];
|
||||
}
|
||||
|
||||
@@ -18,7 +18,12 @@
|
||||
CGSize _labelSize;
|
||||
}
|
||||
static const float REFRESH_CYCLE = 2.0f;
|
||||
|
||||
#if TARGET_OS_TV
|
||||
static const int LABEL_DY = 40;
|
||||
#else
|
||||
static const int LABEL_DY = 20;
|
||||
#endif
|
||||
|
||||
- (id) init {
|
||||
self = [super init];
|
||||
|
||||
Reference in New Issue
Block a user