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

IOS: Label inside a button does not show

    Details

      Description

      Use this code to test. The label never shows up. Affects master and 3_0_X CI. Works in 3.0.0 GA

      var win = Ti.UI.createWindow({
          backgroundColor:"white"
      });
       
       
      var button = Ti.UI.createButton({
          width:200,
          height:200,
          enabled:true,
          backgroundImage:"blue.png",
          backgroundColor:"red"
      })
       
       
      var btnLabel = Ti.UI.createLabel({
          text:"I am button",
          backgroundColor:"green"
      })
       
      button.add(btnLabel);
       
      win.add(button);
      win.open();
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code