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

iOS7: 'backgroundgradient' hides the text and subviews in the TableViewRow

    Details

      Description

      In iOS7, `text` or `subviews` within tableViewRow if we use the `bacgroundgradient` property for a TableViewRow. It appears only the moment when we click on a row. Here is the test case:

      var win = Ti.UI.createWindow({
      	backgroundColor : 'white'
      });
       
      var table = Ti.UI.createTableView({
      	objName : 'table'
      });
      var data = [];
       
      for (var i = 0; i <= 20; i++) {
       
      	var row = Ti.UI.createTableViewRow({
      		className : 'row',
      		objName : 'row',
      		touchEnabled : true,
      		height : 100,
       
      		backgroundGradient : {
      			type : 'linear',
      			startPoint : {
      				x : '100%',
      				y : '0%'
      			},
      			endPoint : {
      				x : '100%',
      				y : '100%'
      			},
      			colors : [{
      				color : 'white',
      				offset : 0.0
      			}, {
      				color : '#ddd',
      				offset : 0.25
      			}, {
      				color : '#787878',
      				offset : 1.0
      			}],
      		},
      		title : 'test'
      	});
      	data.push(row);
      }
      table.data = data;
      win.add(table);
      win.open();
      

      Note : Tested with iOS 6 and its working fine. Please find the attached images of the screenshots of iOS6 and iOS7.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vduggal Vishal Duggal (Inactive)
                Reporter:
                mpathak Meenakshi Pathak
                Reviewer:
                Sabil Rahim
              • Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code