Had the same issue with a DataGrid... don't remember exactly what the style was, and don't have access to the code right now, but it was fixed with something that was set on the DataGrid, not the renderer... hope that helps. Sorry, I could have been vaguer...;)
Brendan
Hello all,
This is my code for my itemRenderer that I'm using in my list:
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:mx=" http://www.adobe.com/2006/mxml " width="100%" height="100%" paddingLeft="0" paddingBottom="0" paddingRight="0" paddingTop="0"
verticalGap="0" bottom="0" top="0" left="0" right="0" borderStyle="none" creationComplete="initFunc()" dropShadowEnabled="false">
<mx:Script>
<![CDATA[
import apps.common.asFiles.NonCatagorizedConstants;
public function initFunc():void
{
currentState = "Ready";
}
]]>
</mx:Script>
<mx:HBox id="listRowShell" backgroundColor="0xFCF5DE" paddingLeft="0" paddingBottom="0" paddingRight="0" paddingTop="0"
bottom="0" top="0" left="0" right="0" width="100%" height="100%" borderStyle="none" dropShadowEnabled="false" verticalGap="0">
</mx:HBox>
<mx:states>
<mx:State name="Ready">
<mx:SetStyle target="{listRowShell}" name="backgroundColor" value="0x009800"/>
</mx:State>
</mx:states>
</mx:VBox>
Please save it and use it. You'll notice that there's a gap between the rows. How the heck do I get rid of those gaps? As you can see I've tried everything within my renderer, and these setting in my list control:
focusThickness="0" leading="0" variableRowHeight="false"
Still to know avail.
Any style gurus have any pointers for me?
Thanks,
Tom
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Software development tool Software development Software development services Home design software Software development company
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
- [flexcoders] ListItemRenderer and border problems Tom Ortega
- Re: [flexcoders] ListItemRenderer and border problem... Brendan Meutzner
Reply via email to

