标签:
1、按钮的内边距
// 设置按钮图片内边距
checkboxButton.imageEdgeInsets = UIEdgeInsetsMake(0, 0, 0, 10);
//设置按钮文字的内边距
checkboxButton.titleEdgeInsets = UIEdgeInsetsMake(0, 10, 0, 0);
// 设置按钮整体内容的内边距
checkboxButton.contentEdgeInsets = UIEdgeInsetsMake(0, 10, 0, 10);
标签:
原文地址:http://www.cnblogs.com/cjt5132/p/4758312.html