//
//  CheckBoxButton.m
//  redstar
//
//  Created by admin on 15/12/16.
//  Copyright © 2015年 ZWF. All rights reserved.
//

#import "CheckBoxButton.h"

@implementation CheckBoxButton

- (CGRect)titleRectForContentRect:(CGRect)contentRect
{
    CGFloat w = self.frame.size.width;
    CGFloat h = self.frame.size.height;
    return CGRectMake(32, 0, w - 22, h);
}
- (CGRect)imageRectForContentRect:(CGRect)contentRect;
{
    CGFloat h = self.frame.size.height;
    return CGRectMake(0, (h - 22) / 2, 22, 22);
}
@end
