Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2396] TableViewRow selectedBackgroundColor

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:58:59.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.6.0
ComponentsiOS
Labelsdefect, ios, release-1.6.0, selectedbackgroundcolor
ReporterDeniss Fedotovs
AssigneeReggie Seagraves
Created2011-04-15T03:18:36.000+0000
Updated2011-04-17T01:58:59.000+0000

Description

When creating custom selectedBackgroundColor on tableViewRow first and last rows have rounded corners on selection (and no rounded corners if not using selectedBackgroundColor property).

Tested on:
Mobile SDK 1.4.2,
iPhone 3.1.2,
iPhone emulator 4.1.

Comments

  1. Mark Aalderink 2011-04-15

    The same here -- iOS 4.1, SDK 1.5.2.
    This should be solved soon, because it looks weird.

  2. Thomas Huelbert 2011-04-15

    Jon to add emulator notes, then assign back to Thomas for device closing

  3. Jon Alter 2011-04-15

    closing against OSX 10.6.6, iOS SDK 4.1,4.2, Android SDK 2.3.1, Titanium Mobile SDK 1.6.0RC1 (2/15/2011)

       
       Titanium.UI.setBackgroundColor('#000');
       var win = Titanium.UI.createWindow();
       
       var data = [
           {title:'2', hasChild: true, selectedBackgroundColor: 'green'},
           {title:'3', hasChild: true, selectedBackgroundColor: 'green'},
           {title:'4', hasChild: true},
           {title:'5', hasChild: true},
           {title:'6', hasChild: true, selectedBackgroundColor: 'red'}
       ];
       
       var tableView = Ti.UI.createTableView({
           data: data,
           editable: true
       });
       
       win.add(tableView);
       win.open();
       
  4. Thomas Huelbert 2011-04-15

    iphone4 (4.2.1) nexus s (2.3.2) same build as Jon.

JSON Source