Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24857] Windows: TableViewRow title should not show if the row has a child element

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionWon't Fix
Resolution Date2017-10-25T05:36:51.000+0000
Affected Version/sRelease 6.1.0, Release 6.1.1
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterEwan Harris
AssigneeKota Iguchi
Created2017-06-20T10:45:42.000+0000
Updated2018-08-02T22:20:04.000+0000

Description

When setting title on a TableViewRow, if the row also has an element added to it then the title should not show, http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.TableViewRow-property-title
var _window = Ti.UI.createWindow();
var label = Ti.UI.createLabel({
    text: 'I am label text'
});
var row = Ti.UI.createTableViewRow({
    title: 'I am tableviewrow text'
});
row.add(label);
var table = Ti.UI.createTableView({
    top: 10,
    data: [row]
});
_window.add(table);
_window.open();

Steps to reproduce

Add the above to an existing app.js

Build for a windows target

Actual

Row shows I am tableviewrow text I am labeltext

Expected

Row should only showI am Label text

Attachments

FileDateSize
ios.png2017-10-24T04:06:43.000+00007252

Comments

  1. Kota Iguchi 2017-10-24

    This happens on iOS too. Should we clone new ticket for iOS too? !ios.png|thumbnail!
  2. Kota Iguchi 2017-10-25

    I would keep this behavior because this happens on iOS too. Maybe we should think this a logical bug?
  3. Eric Merriman 2018-08-02

    Closing old "Won't fix" tickets. If you disagree, please reopen.

JSON Source