Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15157] iOS7:Table row background gradient covers foreground

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2013-09-13T23:28:03.000+0000
Affected Version/sRelease 3.1.1, Release 3.1.2
Fix Version/sRelease 3.1.3, Release 3.2.0
ComponentsiOS
Labelsios7, qe-closed-3.1.3, supportTeam, triage
ReporterRupesh Sharma
AssigneeVishal Duggal
Created2013-09-13T05:47:19.000+0000
Updated2013-09-13T23:57:29.000+0000

Description

Description

The table rows are covered by the background gradient in iOS7. The row is still there though, you can still see the title text if you click on a row item. It worked on 3.1.3.v20130903160805.

TestCase

(function () {
    var win = Ti.UI.createWindow({
            layout: "vertical"
        }),
        t = Ti.UI.createTableView({

        }),
        r = [],
        i;

    for (i = 0; i < 10; i++) {
        r.push(Ti.UI.createTableViewRow({
            backgroundGradient : {
                type: "linear", 
                startPoint: {x:0, y:0},
                endPoint: { x:32, y:0},
                colors: ['#444444', '#eeeeee'], 
                backfillStart: true,  
                backfillEnd: true 
            },
            className : "a",
            title: "item " + i,
            width : Ti.UI.FILL,
            height : Ti.UI.SIZE
        }));
    }

    t.data = r;
    win.add(t);
    win.open();
}());

Attachments

FileDateSize
iOS Simulator Screen shot Sep 13, 2013 11.16.42 AM.png2013-09-13T05:47:19.000+000022356
iOS Simulator Screen shot Sep 13, 2013 11.16.48 AM.png2013-09-13T05:47:19.000+000023161

Comments

  1. Olga Romero 2013-09-13

    Closing as a duplicate: Appcelerator Studio, build: 3.1.3.201309132456 Titanium SDK, build:3.1.3.v20130913121549 Mac OS 10.8.4 Xcode 5 CLI: 3.1.2 Alloy: 1.2.2-cr Devces: iPhone5 iOS7 GM seed iPad3 iOS7 GM seed

JSON Source