ответ

4

Один из способов ее достижения является с исходным смещением в приписываемой строке:

var win = Ti.UI.createWindow(); 

var text = "The history of all hitherto existing society is the history of class struggles. Freeman and slave, patrician and plebeian, lord and serf, guild-master and journeyman, in a word, oppressor and oppressed, stood in constant opposition to one another, carried on an uninterrupted, now hidden, now open fight, a fight that each time ended, either in a revolutionary reconstitution of society at large, or in the common ruin of the contending classes."; 

var attr = Ti.UI.iOS.createAttributedString({ 
    text: text, 
    attributes: [ 
     { 
      type: Ti.UI.iOS.ATTRIBUTE_BASELINE_OFFSET, 
      value: 20, 
      range: [0,250] 
     } 
    ] 
}); 

var label = Ti.UI.createLabel({ 
    attributedString: attr, 
    color:'white', 
    width:Ti.UI.FILL, 
    height:500 
}); 
win.add(label); 

win.open(); 
+0

Спасибо, что, кажется, работает хорошо, кроме пространства, которое он помещает в верхней части этикетки, но я уверен, что могу разобраться, что вне. –