Thank you all. The problem was with stackPanel.add() call - I missed third argument "asHTML" ! With this, code from method getHeaderString() in CwStackPanel works great for text and images!
On Nov 5, 8:48 am, Yefim <[EMAIL PROTECTED]> wrote: > Hi I want to have an image+ text header for stackPanel and do exactly > as it is done in getHeaderString() method in CwStackPanel sample. What > I see on the screen is a chank of HTML (even if I do not include an > image): > <TABLE cellSpacing=0 cellPadding=0><TBODY><TR> > <TD style="VERTICAL-ALIGN: middle" align=left> > <DIV class=gwt-HTML>This should be my stackPanel header</DIV></TD></ > TR></TBODY></TABLE> > > Where should I look? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
