Просмотр исходного кода

playback: iOS 8 layout fix (closes #14947)

Felix Paul Kühne 10 лет назад
Родитель
Сommit
10265946ec
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      Sources/VLCMovieViewController.m

+ 1 - 0
Sources/VLCMovieViewController.m

@@ -385,6 +385,7 @@ typedef NS_ENUM(NSInteger, VLCPanType) {
     } else
         _sleepTimeDatePicker.backgroundColor = [UIColor blackColor];
     _sleepTimeDatePicker.tintColor = [UIColor VLCLightTextColor];
+    _sleepTimeDatePicker.frame = CGRectMake(0., 0., 300., 162.);
     _sleepTimeDatePicker.autoresizingMask = UIViewAutoresizingFlexibleRightMargin | UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleBottomMargin | UIViewAutoresizingFlexibleTopMargin;
     [_sleepTimerContainer addSubview:_sleepTimeDatePicker];