Преглед на файлове

Library: grid view layout fixes

Felix Paul Kühne преди 12 години
родител
ревизия
58cebce917
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      AspenProject/VLCPlaylistViewController.m

+ 2 - 1
AspenProject/VLCPlaylistViewController.m

@@ -167,6 +167,7 @@
         [self.tableView reloadData];
     else {
         [self.gridView reloadData];
+        [self.gridView setNeedsLayout];
     }
 
     [self _displayEmptyLibraryViewIfNeeded];
@@ -239,7 +240,7 @@
     VLCPlaylistGridView *cell = (VLCPlaylistGridView *)[gridView dequeueReusableCellWithIdentifier:AQCellIdentifier];
     if (cell == nil) {
         cell = [[[NSBundle mainBundle] loadNibNamed:@"VLCPlaylistGridView" owner:self options:nil] lastObject];
-        cell.selectionStyle = AQGridViewCellSelectionStyleGlow;
+        cell.selectionStyle = AQGridViewCellSelectionStyleNone;
         cell.gridView = gridView;
     }