Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2418] iOS: Background Gradient on TableView Grouped won't fit into the grid

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2013-08-12T23:05:13.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsbackground, backgroundgradient, gradient, ios, ipad, iphone, tableview, tableviewrow
ReporterMike
AssigneeDaniel Sefton
Created2013-08-10T13:58:17.000+0000
Updated2016-03-08T07:41:27.000+0000

Description

*Problem* When I set backgroundGradient, it will take full width of the screen (not TableViewRow) and cover the border-radius. Apparently the TabelViewRow grid still exists but it's _under_ (hidden below) the gradient. *XML*
<!-- My Profile Settings -->
<TableViewSection id="section_7001100">
    <TableViewRow id="row_7001101" class="tableSectionTitleBlueGradient">
        <Label id="label_7001101" class="sectionTitleBlueGradientWOImage"/>
    </TableViewRow>
</TableViewSection>
*TSS*
".tableSectionTitleBlueGradient": {
    backgroundGradient: {
        type:'linear',
        colors:['#36589c','#17326e']
    },
    touchEnabled: false,
    selectionStyle: 'none',
    height: 50
}
*Note* The expected result below shows should have gradient instead of mono-colour but I guess you got the point.

Attachments

FileDateSize
expectedresult.png2013-08-12T19:10:50.000+000065321
unexpectedresult.png2013-08-12T19:10:50.000+000062228

Comments

  1. Daniel Sefton 2013-08-12

    Closing as duplicate of TC-2722 (which has a more complete test case). Thanks.

JSON Source