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

iOS: label backgroundImage always use caps

    Details

      Description

      it does not behave like a view because it has a different setBackgroundImage_implementation.
      Pull request coming

      var win = Ti.UI.createWindow();
      var size = Ti.UI.createLabel({
      	height:100,
      	width:300,
      	text:"THIS IS A TETS"
      	// backgroundLeftCap:40,
      	// backgroundTopCap:8,
      });
      win.add(size);
       
      var xhr = Titanium.Network.createHTTPClient();
       
      xhr.onload = function()
      {
      	var f = Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory,'ti.png');
      	f.write(this.responseData);
      	size.backgroundImage = f.nativePath;
      };
      // open the client (and test HTTPS)
      xhr.open('GET','http://cdn3.iconfinder.com/data/icons/ginux/Png/Forward-64.png');
       
      // send the data
      xhr.send();
      win.open();
      

        Attachments

          Activity

            People

            • Assignee:
              anagesh Anirudh Nagesh
              Reporter:
              farfromrefuge Martin Guillon (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code