From 552680443dea2ea5e3ce64d03dc4b6d2e39a7226 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sat, 1 Feb 2014 20:17:59 +0400 Subject: Manual layout in reveal panel, deployment target now ios 5.1 --- Juick/RevealPanelViewController.m | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Juick/RevealPanelViewController.m') diff --git a/Juick/RevealPanelViewController.m b/Juick/RevealPanelViewController.m index c39c6cd..9d27608 100644 --- a/Juick/RevealPanelViewController.m +++ b/Juick/RevealPanelViewController.m @@ -64,6 +64,10 @@ static NSString *CellIdentifier = @"NavCell"; return 4; } +- (CGFloat) tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath { + return 32 + 10*2; // icon size + insets +} + - (UITableViewCell *) tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { NavCell * cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath]; NSInteger row = indexPath.row; -- cgit v1.2.3