Delete confirmation button in UITableView overlaps the content
<pre><code>- (UITableViewCell *)tableView:(UITableView *)tv cellForRowAtIndexPath:(NSIndexPath *)indexPath {

    static NSString *LogCellId = @"LogCellId";
    UITableViewCell *cell = [tv dequeueReusableCellWithIdentifier:LogCellId];

    UILabel *lblSummary;

    if (cell == nil) {
        cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:LogCellId] autorelease];   
        lblSummary = [[[UILabel alloc] initWithFrame:CGRectMake(10.0, 10.0, 320.0, 30.0)] autorelease];
        lblSummary.font = [UIFont fontWithName:@"Helvetica-Bold" size:14];
        lblSummary.tag = SUMMARY_TAG;
        lblSummary.lineBreakMode = UILineBreakModeTailTruncation;
        lblSummary.autoresizingMask = UIViewAutoresizingFlexibleRightMargin;

        [cell.contentView addSubview:lblSummary];
    } else {
        lblSummary = (UILabel *)[cell viewWithTag:SUMMARY_TAG];
    }

    lblSummary.text = [self.logList objectAtIndex:[indexPath row]];

    return cell;
}
</code></pre>

<p>What I have there is just a simple cell with one label. I have added swipe-to-delete functionality but the delete button overlaps the label, not pushing it to side.</p>

<p>So I need help. I would appreciate an answer on how I would do this one and also how the autoresizing masks work. I do not feel comfortable with them at all, neither when or where I should use the autoresizing subviews. </p>

<p>Thank you for your time. </p>
