4 Replies Latest reply on Mar 2, 2011 9:34 AM by kevinklin

    Customizing Spark TextInput

    Zolotoj Level 3

      I am creating a custom TextInput item renderer:

      package
      {
          import spark.components.Grid;
          import spark.components.TextInput;
          import spark.components.gridClasses.GridColumn;
          import spark.components.gridClasses.IGridItemRenderer;
         
          public class gridTextInput extends TextInput implements IGridItemRenderer
          {
              public function gridTextInput()
              {
                  super();
                  setStyle("borderVisible", false);
              }

      ......

       

      When I run my code the renderer still has a border. What's wrong with my code?

       

      Thanks