0 Replies Latest reply on Feb 15, 2010 7:11 AM by kokomannn

    how to round the corners of a DateField in Flex 4




      I'm using Flash builder, with flex 4 sdk,

      I'm trying to create a DateField in which the TextInput component has rounded corners,

      this is my code, for some reason it doesn't work, anyone knows why?


      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"        xmlns:s="library://ns.adobe.com/flex/spark"        xmlns:mx="library://ns.adobe.com/flex/halo" minWidth="1024" minHeight="768"       xmlns:components="components.*">



              @namespace s "library://ns.adobe.com/flex/spark";

              @namespace mx "library://ns.adobe.com/flex/halo";


                          corner-radius:10;    borderStyle:solid;



           <mx:DateField textInputStyleName="roundedTI"/>


      it works in Flex 3