Created
March 12, 2010 18:00
-
-
Save ranguard/330575 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 win1 = Titanium.UI.createWindow({ | |
title:'Tab 1', | |
backgroundColor:'#fff' | |
}); | |
var tab1 = Titanium.UI.createTab({ | |
icon:'KS_nav_views.png', | |
title:'Tab 1', | |
window:win1 | |
}); | |
var view = Titanium.UI.createView(); | |
var label = Titanium.UI.createLabel({ | |
text: 'Does not render', | |
height: 'auto', | |
width: 'auto' | |
}); | |
view.add(label); | |
win1.add(view); | |
// This line makes the app exit from the simulator | |
var size = label.size; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment