Skip to content

Instantly share code, notes, and snippets.

@ricardoalcocer
Created February 7, 2014 17:26
Show Gist options
  • Save ricardoalcocer/8867531 to your computer and use it in GitHub Desktop.
Save ricardoalcocer/8867531 to your computer and use it in GitHub Desktop.
Scrolling Label
var view1 = Titanium.UI.createScrollView({
contentWidth:Ti.UI.FILL,
contentHeight:Ti.UI.FILL,
showVerticalScrollIndicator:true,
showHorizontalScrollIndicator:true
});
var label1 = Titanium.UI.createLabel({
color:'#000',
text: "sdfsdfasdf ",
width: Ti.UI.FILL,
font:{fontSize:15,fontFamily:'Helvetica Neue'},
height: Ti.UI.FILL,
verticalAlign: Ti.UI.TEXT_VERTICAL_ALIGNMENT_TOP
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment