Skip navigation
Vijitherasa
Currently Being Moderated

How to set the font weight of disabled textinputs in flex 3 css??

Apr 28, 2013 10:47 PM

Tags: #flex

I need to set the font weight to bold, only if the textinput is disabled. I have an application with multiple mxml files and one css file.

The style of the application is defined in css. So, in my application whenever the textinput gets disabled, the font weight should be made bold. This should be implemented in css file. Is there any possibility to implement this in css?

 
Replies
  • Currently Being Moderated
    Apr 29, 2013 9:33 AM   in reply to Vijitherasa

    You can probably make it work by subclassing TextInput and having it pull styles from a different selector when disabled.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points