1 Reply Latest reply on Nov 5, 2010 9:22 AM by miguel8312

    css for button in item rendered help.

    miguel8312 Level 3
      <mx:itemRenderer>
      
      <mx:Component>
      
      
      <mx:Box width="100%" height="100%" horizontalAlign="center" verticalAlign="middle">
      
      
      <mx:Button label="Approve" width="100%" click="outerDocument.getData();"/>
      
      
      </mx:Box>
      
      
      </mx:Component>
      
      
      </mx:itemRenderer>
      ~
      
      
      
      
      
      


      I have a button like above and i want to apply css to it from my style sheet but i just cant seem to do that i have tried adding the stylename property to my button but that dosent work. What im I missing i know it has to be something really simple.

      Any help is appreciated.