Titanium Mobile
  1. Titanium Mobile
  2. TIMOB-11593

Android: button border visible when button is set to invisible

    Details

      Description

      Problem description

      When a button in Android is set to "visible: false", its border keeps being visible.

      Steps to reproduce

      Use this code to see the issue:

      var win1 = Titanium.UI.createWindow({  
          backgroundColor:"#000"
      });
      
      var button1 = Ti.UI.createButton({
          title: "Invisible",
          borderWidth:1,
          visible:false,
          borderColor:"white"
      });
      
      win1.add(button1);
      
      win1.open();
      

        Issue Links

          Activity

          Hide
          Ingo Muschenetz added a comment -

          Davide--the best I can suggest is 3.0.1 at the moment unless it is marked as a regression.

          Show
          Ingo Muschenetz added a comment - Davide--the best I can suggest is 3.0.1 at the moment unless it is marked as a regression.
          Hide
          Davide Cassenti added a comment -

          Bug is regression: tested in 2.1.2, 2.1.1 and 2.1.0 and the problem is not visible.

          Show
          Davide Cassenti added a comment - Bug is regression: tested in 2.1.2, 2.1.1 and 2.1.0 and the problem is not visible.
          Hide
          Ping Wang added a comment -

          This is a duplicate of TC-1427 which has been resolved against the master (3.1.0).

          Show
          Ping Wang added a comment - This is a duplicate of TC-1427 which has been resolved against the master (3.1.0).
          Show
          Ping Wang added a comment - - edited master PR: https://github.com/appcelerator/titanium_mobile/pull/3310 3_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/3450
          Hide
          Tamila Smolich (Inactive) added a comment -

          Closing as fixed. Border is not visible.
          Tested on:
          Titanium Studio, build: 3.0.0.201211301903
          Titanium SDK, builds: 3.0.0.v20121130200208; 3.1.0.v20121203181001
          Devices: Samsung Galaxy S III (4.0.4)

          Show
          Tamila Smolich (Inactive) added a comment - Closing as fixed. Border is not visible. Tested on: Titanium Studio, build: 3.0.0.201211301903 Titanium SDK, builds: 3.0.0.v20121130200208; 3.1.0.v20121203181001 Devices: Samsung Galaxy S III (4.0.4)

            People

            • Assignee:
              Ping Wang
              Reporter:
              Davide Cassenti
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: