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

iOS7: hintText becomes invisible on dark background

    Details

      Description

      Problem description

      When a dark background is used, the hint text does not show up in a text field.

      Code to reproduce

      var win = Ti.UI.createWindow({
      	backgroundColor : "black"
      });
       
      var text = Ti.UI.createTextField({
      	width : 280,
      	height : 60,
      	top : 50,
      	left : 20,
      	color : "blue",
      	font : {
      		fontSize : 30,
      	},
      	backgroundColor : 'transparent',
      	hintText : "HINT TEXT"
      });
      win.add(text);
      win.open();
      

      Notes

      Change the window background color to 'white' and the hintText will be visible in gray color. Same error happens changing the backgroundColor of the text field.

        Attachments

          Activity

            People

            • Assignee:
              ingo Ingo Muschenetz
              Reporter:
              dcassenti Davide Cassenti
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration