Skip to content

Commit

Permalink
Fixed to prevent indenting content when using swipe-to-delete - credi…
Browse files Browse the repository at this point in the history
  • Loading branch information
adamalex committed Dec 1, 2009
1 parent 763b63b commit 4036c80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/FirstLastExampleTableViewCell.m
Expand Up @@ -57,7 +57,7 @@ - (void)layoutSubviews
CGRect b = [self bounds];
b.size.height -= 1; // leave room for the separator line
b.size.width += 30; // allow extra width to slide for editing
b.origin.x -= (self.editing) ? 0 : 30; // start 30px left unless editing
b.origin.x -= (self.editing && !self.showingDeleteConfirmation) ? 0 : 30; // start 30px left unless editing
[contentView setFrame:b];
[super layoutSubviews];
}
Expand Down

0 comments on commit 4036c80

Please sign in to comment.