Skip to content

Commit

Permalink
iOS redacted tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
romaonthego committed Aug 5, 2013
1 parent 1a2f62f commit d478419
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions RETableViewManager/Cells/RETableViewOptionCell.m
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ - (void)layoutSubviews
{
[super layoutSubviews];
[self layoutDetailView:_valueLabel];
if (REDeviceSystemMajorVersion() >= 7.0) {
CGRect frame = self.valueLabel.frame;
frame.size.width += 10.0;
self.valueLabel.frame = frame;
}

if ([self.tableViewManager.delegate respondsToSelector:@selector(tableView:willLayoutCellSubviews:forRowAtIndexPath:)])
[self.tableViewManager.delegate tableView:self.tableViewManager.tableView willLayoutCellSubviews:self forRowAtIndexPath:[(UITableView *)self.superview indexPathForCell:self]];
Expand Down

0 comments on commit d478419

Please sign in to comment.