Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-16136

iOS: TabGroup doesn't adapt its width to screen's width after orientation change

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Release 3.2.0
    • Fix Version/s: None
    • Component/s: iOS
    • Environment:

      3.2.0.GA

      Description

      TabGroup doesn't adapt its width to screen's width after orientation is changed in window without tabGroup (You can see that issue in attached video).

      <Alloy>
      	<TabGroup>
          	<Tab title="Tab 1" icon="tab_icons/0.png">
             		<Window id="win1" title="Win 1">
                 		<Button onClick="openWindow">Open new window</Button>
                  </Window>
          	</Tab>
                  
         		<Tab title="Tab 2" icon="tab_icons/1.png">
              	<Window id="win2" title="Win 2"/>
          	</Tab>
          	
          	<Tab title="Tab 1" icon="tab_icons/2.png">
              	<Window id="win3" title="Win 3"/>
          	</Tab>
          </TabGroup>	
      </Alloy>
      

      "Window":{
          backgroundColor: "white",
          orientationModes: [Ti.UI.PORTRAIT]
      }
      

      $.index.open();
       
      var openWindow = function(){
      	var win = Ti.UI.createWindow({
      		backgroundColor: "white",
      		orientationModes: [Ti.UI.PORTRAIT, Ti.UI.LANDSCAPE_LEFT, Ti.UI.LANDSCAPE_RIGHT],
      		tabBarHidden: true
      	});
      	
      	$.index.activeTab.open(win);
      };
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sko Matej
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

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

                  Git Source Code