Commit 58cebce9 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Library: grid view layout fixes

parent 408cf59e
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment