0 Replies Latest reply on Mar 28, 2008 9:01 AM by ericbelair

    No Padding when Extending ButtonBar as Item Renderer in AdvancedDataGrid

    ericbelair Level 1
      I am using an ActionScript Class to extend the ButtonBar component as my Item Renderer in an AdvancedDataGrid. However, when I set the styles and properties of the ButtonBar in the constructor, it shifts the ButtonBar all the way to the left of the Column, with no padding to the left. Any thoughts? Here is my constructor function:

      public class SavedReportsButtonBar extends ButtonBar
      public function SavedReportsButtonBar()

      setStyle("horizontalAlign", "left");

      Any help is greatly appreciated - I'm really trying to grasp and use the whole OO programming idea.