flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maurice Amsellem (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-34099) TextInput with prompt with TextInputSkin displays gray text on iOS
Date Fri, 21 Feb 2014 13:55:24 GMT

    [ https://issues.apache.org/jira/browse/FLEX-34099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13908330#comment-13908330
] 

Maurice Amsellem commented on FLEX-34099:
-----------------------------------------

Sorry, I was not clear on the way to do it.
Since s:Label is a StyleClient, it can have its own style (eg. color, everything).
So <s:Label id="promptText" color="gray" /> shoud be enough.
However, you need to "disable" the state-based css that switches the color to gray, when prompt
is displayed.

So you should add something like: 

SkinnableTextBase:normalWithPrompt
{ color: black;  fontStyle: normal; }

(black being the color or input text).

try and let me know.

> TextInput with prompt with TextInputSkin displays gray text on iOS
> ------------------------------------------------------------------
>
>                 Key: FLEX-34099
>                 URL: https://issues.apache.org/jira/browse/FLEX-34099
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Mobile: Text
>    Affects Versions: Apache Flex 4.12.0
>            Reporter: Maurice Amsellem
>            Assignee: Maurice Amsellem
>
> Occurs on iOS6 and iOS7 devices, not on the AIR Emulator



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message