可调整内边距的UILabel
摘要:
继承UILabel,重载drawTextInRect方法。//1.header file#import @interface InsetsLabel : UILabel@property(nonatomic) UIEdgeInsets insets;-(id) initWithFrame:(CGRect)frame andInsets: (UIEdgeInsets) insets;-(id) in... 阅读全文
posted @ 2013-03-25 16:01 流れ星ーー 阅读(195) 评论(0) 推荐(0) 编辑