//
//  DateButton.m
//  redstar
//
//  Created by admin on 15/10/28.
//  Copyright © 2015年 ZWF. All rights reserved.
//

#import "DateButton.h"

@implementation DateButton

- (CGRect)titleRectForContentRect:(CGRect)contentRect
{
    CGFloat w = self.frame.size.width;
    CGFloat h = self.frame.size.height;
    return CGRectMake(0, 0, w / 9 * 8, h);
}

- (CGRect)imageRectForContentRect:(CGRect)contentRect
{
    CGFloat w = self.frame.size.width;
    return CGRectMake(w / 9 * 8, 10, 12, 10);
}
@end
