Explorar el Código

VLCSettingsController: Set cell height to UITableViewAutomaticDimension

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

Closes #672
Andy Woerner hace 5 años
padre
commit
05016600e3
Se han modificado 1 ficheros con 5 adiciones y 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;