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

iOS9: ListView not filling screen width

    Details

      Description

      ListView not filling screen width. Occured after updating to the new XCode version

      iPad - Landscape

      Looks like there is some sort of inset being applied?

      Test
      index.xml

      <Alloy>
          <Window backgroundColor="white">
              <ListView id="listView" defaultItemTemplate="template">
                  <Templates>
                      <ItemTemplate name="template">
                          <ImageView bindId="pic" id="icon" />
                          <Label bindId="info" id="title" />
                          <Label bindId="es_info" id="subtitle" />
                      </ItemTemplate>
                  </Templates>
       
                  <ListSection headerTitle="Fruit / Frutas">
                      <ListItem info:text="Apple" es_info:text="Manzana" pic:image="/apple.png" />
                      <ListItem info:text="Banana" es_info:text="Banana" pic:image="/banana.png" />
                  </ListSection>
                  <ListSection headerTitle="Vegetables / Verduras">
                      <ListItem info:text="Carrot" es_info:text="Zanahoria" pic:image="/carrot.png" />
                      <ListItem info:text="Potato" es_info:text="Patata" pic:image="/potato.png" />
                  </ListSection>
                  <ListSection headerTitle="Grains / Granos">
                      <ListItem info:text="Corn" es_info:text="Maiz" pic:image="/corn.png" />
                      <ListItem info:text="Rice" es_info:text="Arroz" pic:image="/rice.png" />
                  </ListSection>
              </ListView>
          </Window>
      </Alloy>
      

      index.tss

      "#listView":{
      	style: Ti.UI.iPhone.ListViewStyle.GROUPED
      }
       
      "#icon" : {
          width: '50dp', height: '50dp', left: 0
      },
      "#title" : {
          color: 'black',
          font: { fontFamily:'Arial', fontSize: '20dp', fontWeight:'bold' },
          left: '60dp', top: 0
      },
      "#subtitle" : {
          color: 'gray',
          font: { fontFamily:'Arial', fontSize: '14dp' },
          left: '60dp', top: '25dp'
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cng Chee Kiat Ng (Inactive)
                Reporter:
                mavno Martin N
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code