Skip to content

Instantly share code, notes, and snippets.

@ranguard
Created March 12, 2010 18:00
Show Gist options
  • Save ranguard/330575 to your computer and use it in GitHub Desktop.
Save ranguard/330575 to your computer and use it in GitHub Desktop.
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