Skip to content

licao/4_1_1_GA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

4.1.1.GA

目的 修改ti的sdk 让ti的label在ios中支持行间距

说明:

AttributedString的 AttributeNameParagraphStyle 属性 ti中未提供支持

####具体使用: 属性:ATTRIBUTE_LINE_SPACING

用法例子:

var attr = Titanium.UI.createAttributedString({
	text: text,
	attributes: [{
		type: Titanium.UI.ATTRIBUTE_LINE_SPACING,
		value: "30",
		range: [0, text.length]
	}]
});

type: Titanium.UI.ATTRIBUTE_LINE_SPACING
value: 30 or "30" 数字
range: [起始位置,长度]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published