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

Button with width auto or undefined does not work with image and title defined

    Details

      Description

      Create a new project and drop in this test code. First button is ok, the next two are bad.

      var win = Ti.UI.createWindow({
      	backgroundColor:'white'
      });
       
      var expected = Ti.UI.createButton({
      	title:'TEST',
      	image:'KS_nav_ui.png',
      	width:Ti.UI.SIZE,
      	top:10
      });
       
      var fail1 = Ti.UI.createButton({
      	title:'TEST',
      	image:'KS_nav_ui.png',
      	width:'auto',
      	top:60
      });
       
      var fail2 = Ti.UI.createButton({
      	title:'TEST',
      	image:'KS_nav_ui.png',
      	top:110
      });
       
      win.add(expected);
      win.add(fail1);
      win.add(fail2);
       
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              vduggal Vishal Duggal (Inactive)
              Reporter:
              vduggal Vishal Duggal (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration