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

Android: TableView bottom border extends past the last table row

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: Release 6.2.0
    • Fix Version/s: Release 6.3.0
    • Component/s: Android
    • Environment:

      Description

      Description
      On Android, TableView borders should border around the rows with no gap as seen in the "expected" picture. There bottom border extends past the last row. This is a regression. SDK 6.1.2.GA works as expected. 6.2.0 fails.

      Steps to reproduce
      1. Create a Classic app and replace the code with the following below.

      Expected results
      See the attached screen shot. The border should wrap around the rows with no empty space between the last row and the bottom border.

      Actual results
      The bottom border is extended past the last row. See the screenshot "actual"

      app.js

      var window = Ti.UI.createWindow();
      var rows = [];
      for (var i = 0; i < 5; i++) {
          var row = Ti.UI.createTableViewRow({});
          row.add(Ti.UI.createView({
              width: 100,
              height: 50,
              left: 0,
              backgroundColor: 'blue',
              borderWidth: 1,
              borderColor: '#000'
          }));
          rows.push(row);
      };
      var table = Ti.UI.createTableView({
          data: rows,
          borderWidth: 1,
          borderRadius: 30,
          borderColor: 'blue',
          rowHeight: 50,
          top: 100,
          left: 100,
          right: 100,
          height: Ti.UI.SIZE
      });
      window.add(table);
      window.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jquick Joshua Quick
                Reporter:
                amukherjee Abir Mukherjee
                Reviewer:
                Gary Mathews
                Tester:
                Lokesh Choudhary
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-11125
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code