2015年9月22日

带填充间距的 UILabel 在项目中的使用

摘要: 效果实现方式:1、自定义上文中的 SOInsetsLabel2、在自定义 View 中初始化 label//// PTDiscoverDetailHeader.m// kidsPlay//// Created by LiLiLiu on 15/9/13.// Copyright (c) 20... 阅读全文

posted @ 2015-09-22 13:28 奋进的闹钟 阅读(246) 评论(0) 推荐(0) 编辑

自定义UILabel UITextField 填充

摘要: iOS 的控件,只看到 UIButton 可以设置 Padding/Insets,即按钮上文字或图片与按钮边界的间隙,对与 CSS 来说叫做 Padding,在 iOS 中叫做 Insets,UIButton 设置 Insets 相应的属性如下:Configuring Edge Insets con... 阅读全文

posted @ 2015-09-22 13:20 奋进的闹钟 阅读(348) 评论(0) 推荐(0) 编辑

导航