- Home /
 
               Question by 
               absameen · Jun 28, 2012 at 10:53 AM · 
                editorstyles  
              
 
              Override EditorStyles
I've asked a similar question before but have yet to get a definite answer. How can we override EditorStyles? Is this even possible?
Example: EditorStyles.label controls the color of the prefix label on IntField, FloatField and other Editor controls. Passing a custom style will only affect the number field. I would like to use a custom style with these prefix labels.
               Comment
              
 
               
               
               Best Answer 
              
 
              Answer by absameen · Jun 28, 2012 at 10:58 AM
I can't believe it was this simple. All you have to do is directly manipulate the EditorStyles.
EditorStyles.label.normal.textColor = Color.white;
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                