//
//  TitleTableViewCell.m
//  ArmorP3V1
//

#import "TitleTableViewCell.h"

@implementation TitleTableViewCell

- (void)layoutSubviews {
    [super layoutSubviews];
    CGRect tmpFrame = self.frame;

    self.imageView.bounds = CGRectMake(0,10,tmpFrame.size.width-20,tmpFrame.size.width-40);
    self.imageView.frame = CGRectMake(0,10,tmpFrame.size.width-20,tmpFrame.size.width-40);
    self.imageView.contentMode = UIViewContentModeScaleAspectFit;
    self.imageView.image = self.imageView.image;
    
    tmpFrame = self.textLabel.frame;
    tmpFrame.size.width = 0;
    self.textLabel.frame = tmpFrame;
    
    tmpFrame = self.detailTextLabel.frame;
    tmpFrame.size.width = 0;
    self.detailTextLabel.frame = tmpFrame;
    
}

@end
