设置textview lable的行间距
来源:互联网 发布:域名邮箱申请条件 编辑:程序博客网 时间:2024/05/28 15:22
NSMutableParagraphStyle
*paragraphStyle = [[
NSMutableParagraphStyle
alloc
]init];
paragraphStyle
.lineSpacing
=
4
;
NSDictionary
*attributes = @{
NSFontAttributeName
:[
UIFont
systemFontOfSize
:
1
4
],
NSParagraphStyleAttributeName
:paragraphStyle};
label
.attributedText
= [[
NSAttributedString
alloc
]initWithString:label
.text
attributes
:attributes];
0 0
- 设置textview lable的行间距
- 设置Lable行间距
- 设置TextView的行间距
- 设置textView的行间距
- 设置textView的行间距
- TextView行间距设置
- TextView设置行间距
- textView设置行间距
- Android中设置TextView的行间距
- TextView中设置行间距的方法
- TextView中设置行间距的方法
- iOS设置textView的行间距
- textview设置文本每行的行间距
- 一、设置textView的行间距
- 设置android textview行间距
- textView 设置行间距 行宽
- android textview 行间距设置
- android设置TextView行间距
- FCKeditor学习
- Oracle数据类型
- dataguard初始化参数
- 风风光光
- 码垛
- 设置textview lable的行间距
- SearchMatrix@Leetcode
- Java反射机制
- jdbc与hibernate的优缺点比较
- 光有想法怎么开技术公司?
- mac 下更新 .bash_profile 文件
- poj 1050 To the Max(最大子矩阵和)
- 免费玩家和付费玩家的顶级英雄和装备的产出平衡
- UVa 111 - History Grading