Explorar o código

VLCSettingsController: Set cell height to UITableViewAutomaticDimension

This will allow dynamic cell resizing height for verbose languages like german

Closes #672
Andy Woerner %!s(int64=5) %!d(string=hai) anos
pai
achega
05016600e3
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      Sources/VLCSettingsController.m

+ 5 - 0
Sources/VLCSettingsController.m

@@ -223,6 +223,11 @@ NSString * const kVLCSectionTableHeaderViewIdentifier = @"VLCSectionTableHeaderV
     }
 }
 
+- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
+{
+    return UITableViewAutomaticDimension;
+}
+
 - (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section
 {
     return nil;