Created
June 10, 2010 14:56
-
-
Save kwhinnery/433113 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var win = Titanium.UI.createWindow({ | |
backgroundColor:"#fff" | |
}); | |
var body = Ti.UI.createView({height:'auto',layout:'vertical'}); | |
var Label1 = Ti.UI.createLabel({ | |
color:'green', | |
top:10, | |
height:'auto', | |
text:'Lorem ipsum dolor sit amet, consetetur sadipscing \ | |
elitr, sed diam nonumy eirmod \ | |
tempor invidunt ut labore et dolore \ | |
magna aliquyam erat, \ | |
sed diam voluptua'}); | |
body.add(Label1); | |
var Label2 = Ti.UI.createLabel({ | |
color:'red', | |
top:10, | |
height:'auto', | |
text:'At vero eos et accusam et justo duo \ | |
dolores et ea rebum. Stet clita kasd \ | |
gubergren, no sea takimata sanctus est \ | |
Lorem ipsum dolor sit amet'}); | |
body.add(Label2); | |
win.add(body); | |
win.open(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment