Because the super class ignores width.

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Tuesday, June 24, 2008 7:26 AM
To: [email protected]
Subject: [flexcoders] Question about drawSelectionIndicator

 

Here is mmy code:
override protected function drawSelectionIndicator(indicator:Sprite, 
x:Number, y:Number, width:Number, height:Number, color:uint, 
itemRenderer:IListItemRenderer):void 
{ 
super.drawSelectionIndicator(indicator, x, y, width, height, color, 
itemRenderer);
}
Providing a different value for the height will create a different 
selection spot on the screen, but a different width does not seem to be 
of any effect. Even a zero does not change it. It still selects the 
whole row, no matter what. Can someone explain why is that?

Thanks

 

Reply via email to