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

iOS8: Listview: Separator Insets values are not respected on the side of the title/data if the listview row contains a title/data

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: iOS
    • Environment:
    • Story Points:
      5
    • Sprint:
      2014 Sprint 20 SDK

      Description

      This issue is only seen on iOS 8. Works fine on iOS 7.1
      Description:

      1. Run the code below:

      var win = Ti.UI.createWindow({
          backgroundColor: 'white',
          title:'INSETS',
          layout:'vertical'
      });
       
       
      var container = Ti.UI.createView({height:Ti.UI.SIZE,width:Ti.UI.SIZE,layout:'horizontal'});
      win.add(container);
       
       
      var listView = Ti.UI.createListView({top:5,separatorColor:'red',separatorInsets:{left:0,right:0}});
       
      var section = Ti.UI.createListSection();
       
      var data = [
          {properties: { title: 'ONE'}},
          {properties: { title: 'TWO'}},
          {properties: { title: 'THREE'}},
          {properties: { title: 'FOUR'}}
      ];
      section.setItems(data);
      listView.sections = [section];
       
      win.add(listView);
       
      var nav = Ti.UI.iOS.createNavigationWindow({
          window:win
      });
       
      nav.open();
      

      2. Run it on iOS 8 & iOS 7 device & notice the difference.

      Actual Result:

      1. Separator Insets values should be respected on the side of the title/data if the listview row contains a title/data e.g ONE,TWO,THREE,FOUR.

      NOTE: Refer screenshots for reference.

      Expected Result:

      1. Separator Insets values are not respected on the side of the title/data if the listview row contains a titledata

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mdadu Muhammad Dadu (Inactive)
                Reporter:
                lchoudhary Lokesh Choudhary
                Reviewer:
                Vishal Duggal (Inactive)
                Tester:
                Ewan Harris
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration