Details

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

      Ti SDK 3.1.3.x
      Xcode 5 B6

      Description

      When creating a simple tableView row, as shown below, the layout is pretty random.

      Code

      var d = ['Account','About'...];
       
      for(...) {
       
          var row = Ti.UI.createTableViewRow({
              height: 50,
       
              hasChild: true,
       
              leftImage: '/settings/'+d[i]+'.png',
              title: d[i],
              color: '#333333',
              selectedColor: '#2f2f2f',
              font: ui.titleFont,
       
              className: 'settingsRow'
          });
       
      }
       
      tableView.appendRow(row);
      row=null;
      

      When the leftImage property is set on the Cell, the UIImage and the UILabel are offset far too off from the left edge. Ref: 1.png

      When the hasChild property is set to true, the UILabel of the Cell is offset un-naturally. Appears correctly when hasChild is set to false. Ref: 2.png

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dezinezync Nikhil N
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

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

                  Git Integration