1 Reply Latest reply on Jun 20, 2011 9:16 AM by Flex harUI

    Text in Data Grid ItemRenderer overlapping cells

    iamcootis Level 1

      I have created a dataGrid itemRenderer and it is overlapping onto other cells. I've created several dataGrids and itemRenderers before and I've never had this happen so I'm a bit perplexed. My itemRenderer looks like this:


      <s:MXAdvancedDataGridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
                                        focusEnabled="true" height="25">
                  private var showLock:Boolean = false;
                  public var padLock:Class;
                   * If items have a testLabType then they are locked.
                  override public function set data(value:Object):void{
                      if(value != null){
                          super.data = value;
                              showLock = true;
          <s:HGroup verticalAlign="middle" height="25">
              <s:BitmapImage source ="{padLock}" visible="{showLock}" width="16" height="17" smooth="true"/>
              <s:Label id="lblData" text="{listData.label}" styleName="normal11ptDroidSans" lineBreak="toFit"/>


      I've also attached this image so you can see what I'm referring to: