FYI

 

I went into the component source code, found the bug and fixed it. It meant
deriving a new class from the HeaderRenderer  class and then going into the
drawLayout function and changing the line "textField.width = tmpWidth;" to
"textField.width = width - (txtPad * 2) - paddedIconW;"

 

Yes I know the precedence of multiplication means I didn't really need to
put the parenthesis around txtPad * 2 but I like to make things more
readable.

 

Anyway, assigning the DataGrid's headerRenderer style to the new
HeaderRenderer class has everything working properly.

 

 

Craig Bowman

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to