On 5/12/05, Tracy Spratt <[EMAIL PROTECTED]> wrote: > What if you put the Panel on a Canvas at 0,0, then put the image/icon > wherever you want on top?
Yeah I think that's the easiest, but it introduces a Canvas into the heirarchy. The next easiest it to simply create the icon as a child of the Panel-derived class and place it directly at 0,0. (It's not 0,0 strictly speaking, because you have to take the border and margins into account.) You also run into the issue that the icon covers part of the text, so the perfect solution is to shift the title text a little to the right. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/