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

Android: BorderRadius on TableView doesn't clip content on Android, Ti 2.1.0

    Details

      Description

      Steps to Reproduce

      Titanium.UI.setBackgroundColor('#000');

      var win = Titanium.UI.createWindow(

      { title:'Tab 1', backgroundColor:'#fff' }

      );

      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: 10, borderColor: 'blue', backgroundColor: '#fff', rowHeight: 50, top: 100, left: 100, right: 100, height: Ti.UI.SIZE }

      );
      win.add(table);

      win.open();

      Actual Result

      overflow content is not clipping, override borderRadius

      Expected Result

      overflow content is clipping

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ayeung Allen Yeung
                Reporter:
                ptquang86 Quang Pham
              • Watchers:
                0 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code