Thanks for your suggestion. I did call the "super.updateDisplayList()". Specifically, I am implementing what's beeing shown here: http://butterfliesandbugs.wordpress.com/2007/07/11/using-an-itemrenderer-to-change-the-background-of-a-datagrid-cell/
I am guessing that the itemRenderer is being overridden with the the "unscaledWidth" and "unscaledHeight" arguments in the "g.drawRect" method. And it's drawing with the unscaled numbers. Is there a way to somehow catch the resized height/width and pass those as arguments instead? Thanks. --- In [email protected], "ben.clinkinbeard" <[EMAIL PROTECTED]> wrote: > > You need to call super.updateDisplayList() in your override. > > Ben > > > --- In [email protected], "Shun Chu" <shun.chu@> wrote: > > > > Hi, > > > > I have extended the Label class by overriding the protected method > > "updateDisplayList". The purpose was to allow showing different cell > > colors in a dataGrid by checking the value of each dataField (if x > > > 10, fill with green... etc). > > > > Now, the problem is, by overriding the "updateDisplayList" method, I > > lost the ability to scale the height of each a row when there's more > > data than the width allows. Or is there another way to do this without > > affecting the ability to scale? > > > > I am relatively new to Flex, so any useful comments are appreciated. > > Thank you. > > >

