Are you using a TabBar http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/TabBar.html You can add html directly into each tab. But for what you are doing I might consider the icon as a background image to a div with the text offset. Best way I have found to get the css right is in firefox/ firebug. In the style browser you can change them on the fly, then once it is right copy that to your stylesheet.
On Jan 13, 3:15 pm, Stine <[email protected]> wrote: > Hello :) > > I am still struggling with getting familiar with GWT ':] > > Right now I am trying to create a tab panel where each tab contains > both an icon and a text describing what can be found at the attached > page. Maybe it does not sound of much!! But to me it is not that clear > how the tabs should be constructed! If I add horizontal panels as tabs > I find it difficult to write the CSS making the whole TabLayoutPanel > look nice... hmm... > > Anyone out there who has solved a similar small excercise which I > could have a look at maybe? ;D Cannot find any examples on the > Internet... > > Thanks, > Stine
-- 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.
