title: How do I create a window with a title, navbar and button bar?
body: <p>I wish to create a window with a title bar and button bar but do not wish to use a tab group.</p>
  
  <p>I tried the following without success:</p>
  
  <pre><code>var win = Titanium.UI.createWindow({
      title: "Home",
      backgroundColor: '#bbb',
      navBarHidden:false
  });
  var b = Titanium.UI.createButton({
      title:'Button',
      style:Titanium.UI.iPhone.SystemButtonStyle.BORDERED
  });
  win.setToolbar([b]);
  win.add(Titanium.UI.createLabel({text: "Label"}));
  win.open();
  </code></pre>
  
  <p>Neither the toolbar or the title show, however if I place this content inside a <code>TabGroup</code> it functions as expected.</p>
  
  <p>If I can't get this behaviour by default, could someone please demonstrate how to create a label (or button) using the system rendered style for the title and if its possible to do something similar to get the button bar at the bottom?</p>
  
  <p>The following does work:</p>
  
  <pre><code>var win = Titanium.UI.createWindow({
      title: "Home",
      backgroundColor: '#bbb',
      navBarHidden:false
  });
  var b = Titanium.UI.createButton({
      title:'Button',
      style:Titanium.UI.iPhone.SystemButtonStyle.BORDERED
  });
  win.setToolbar([b]);
  win.add(Titanium.UI.createLabel({text: "Label"}));
  var tabGroup = Titanium.UI.createTabGroup();
  tabGroup.addTab(Titanium.UI.createTab({
      title:'Home',
      window:win
  }));
  tabGroup.open();
  </code></pre>