瀏覽代碼

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;
     }