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

iOS: Window: backgroundGradient on window hides the text

    Details

      Description

      1. Copy paste the code given below on app.js and run the app.

      Expected Result:
      1. Window gets open with label on it having text as"I am the home window"

      Actual Result:
      1. Window opens up with black background. No label is visible

      var window_gradient = {
      	type:'linear',
      	colors:[
      		{color:'#111',offset:0.0},
      		{color:'#333',offset:0.7},
      		{color:'#111',offset:1.0}
      	]
      };
      var win = Titanium.UI.createWindow({  
          backgroundGradient:window_gradient,   
      });
      var label = Titanium.UI.createLabel({
      	color:'blue',
      	text:'I am the home window',
      	font:{fontSize:20,fontFamily:'Helvetica Neue'},
      	textAlign:'center',
      	backgroundColor:"yellow"
      });
      win.add(label);
      win.open();
      

      Working fine on android.
      Its a regression as working fine on 3.2.2.GA

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vduggal Vishal Duggal (Inactive)
                Reporter:
                pagarwal Priya Agarwal
                Reviewer:
                Sabil Rahim
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code