Browse Source

Library: grid view layout fixes

Felix Paul Kühne 12 years ago
parent
commit
58cebce917
1 changed files with 2 additions and 1 deletions
  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;
     }