Hi Sorry for the late response.
I found out that I just needed to use the padding-left, right, top and bottom css properties to control the layout of the "highlights". Just wierd that the default style has no padding only on the right. regards --- In [email protected], "Yves Riel" <r...@...> wrote: > > Could be easier to help you out if you post some code ... especially if > it's a "really simple application". > > ________________________________ > > From: [email protected] [mailto:[email protected]] On > Behalf Of fonqiemp > Sent: Thursday, May 21, 2009 3:28 AM > To: [email protected] > Subject: [flexcoders] Custom ItemRenderer in List control and highlight > > > > > > Hi all > > This is probably a really simple question, but I havn't been able to > find the answer. > > I've created a really simple application containing a List control and a > mxml component (extending Canvas). > > My List width is set to 300. The custom component width is also set to > 300. > > When I use my component as an itemRenderer for my list, the "roll over" > and "selected" highlight border shows up fine on the top, left and > bottom edges. But the right edge is missing. > > It's as if the canvas is too wide for the list, but if I specify a width > of 290 in the canvas it's just the same. >

