Details

      Description

      Support setting a title on a window (both for tabs and standalone windows).

      Acceptance Test

      Standalone Window

      var win = Ti.UI.createWindow({
        title: 'A lonely window',
        backgroundColor: 'blue'
      });
      win.open();
      

      1. Verify a window opens (blue background).
      2. There should be a title at the top.

      Tab window

      function createTab(color, title) {
        var win = Ti.UI.createWindow({
          title: title,
          backgroundColor: color
        });
        return Ti.UI.createTab({
          title: color,
          window: win
        });
      }
       
      var tabGroup = Ti.UI.createTabGroup();
      tabGroup.addTab(createTab('blue', 'You take the blue pill.'));
      tabGroup.addTab(createTab('red', 'You take the red pill.'));
      tabGroup.open();
      

      1. Verify the tab group opens with two tabs.
      2. Verify each tab has a title (bottom) for each color.
      3. Try selecting both tabs and verify title for window is displayed on top.

        Attachments

          Activity

            People

            • Assignee:
              joshroesslein Josh Roesslein
              Reporter:
              joshroesslein Josh Roesslein
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-15803
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration