summaryrefslogtreecommitdiff
path: root/Juick/RevealPanelViewController.m
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2014-02-01 20:17:59 +0400
committerGravatar Vitaly Takmazov2014-02-01 20:17:59 +0400
commit552680443dea2ea5e3ce64d03dc4b6d2e39a7226 (patch)
tree73551b057735dd16406343831b5412c2ffb9c177 /Juick/RevealPanelViewController.m
parent50a0ecf985bbe81aacfac85192652c2495b769f6 (diff)
Manual layout in reveal panel, deployment target now ios 5.1
Diffstat (limited to 'Juick/RevealPanelViewController.m')
-rw-r--r--Juick/RevealPanelViewController.m4
1 files changed, 4 insertions, 0 deletions
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;