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

Windows: image property of ListItem should not overlay text

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 7.0.0, Release 6.3.0, Release 6.2.1
    • Fix Version/s: Release 7.0.0
    • Component/s: Windows
    • Labels:
      None
    • Environment:

      Ti SDK: 6.2.1.GA, 7.0.0.v20170920153129

    • Story Points:
      5
    • Sprint:
      2017 Sprint 22 SDK, 2017 Sprint 23 SDK

      Description

      Description

      When setting the image property of a ListItem it overlays the title. On Android the image is on the right of the ListItem and on iOS it's on the left.

      var win = Ti.UI.createWindow({backgroundColor: 'white'});
      var listView = Ti.UI.createListView();
      var sections = [];
       
      var vegSection = Ti.UI.createListSection({ headerTitle: 'Vegetables'});
      var vegDataSet = [
          {properties: { title: 'Carrots', image: 'Logo.png', color: 'black'}},
          {properties: { title: 'Potatoes',  color: 'black'}},
      ];
      vegSection.setItems(vegDataSet);
      sections.push(vegSection);
       
      listView.sections = sections;
      win.add(listView);
      win.open();
      

      Steps to reproduce
      1. Add the above to an existing app.js and build for Windows
      Actual

      Image and text overlay

      Expected

      Image and text should not overlay

        Attachments

          Activity

            People

            • Assignee:
              kiguchi Kota Iguchi
              Reporter:
              eharris Ewan Harris
              Reviewer:
              Gary Mathews
              Tester:
              Josh Longton
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code