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

Android: TableViewRow does not scale to height of parent

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Release 9.3.0
    • Component/s: Android
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      2020 Sprint 20, 2020 Sprint 21, 2020 Sprint 22, 2020 Sprint 23

      Description

      • Specifying Ti.UI.FILL or '100%' for TableViewRow.height does not scale to the parent TableView.height.

      TEST

      const win = Ti.UI.createWindow({ backgroundColor: 'gray' });
      const row = Ti.UI.createTableViewRow({
      	height: Ti.UI.FILL,
      	title: 'View should fill TableView parent',
      	backgroundColor: 'red'
      });
      const table = Ti.UI.createTableView({
        backgroundColor: 'white',
        data: [ row ]
      });
       
      win.add(table);
      win.open();
      

      EXPECTED

      • TableViewRow scales to parent TableView height.

      ACTUAL

      • TableViewRow contents are scaled to zero and are hidden.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                gmathews Gary Mathews
                Reviewer:
                Joshua Quick
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration