On 08/21/2009 07:31 AM, Richard wrote: > > Hi all, > > I'm new to GWT and I've tryed to display some labels in a flow > panel. Unfortunately they are displayed as in a VerticalPanel. Where > am I wrong ? (gwt 1.7, eclipse 3.3, App engine 1.2.2)
I think the issue is that the FlowPanel widget uses the default layout behavior (as documented). If you look at the documentation for the Label widget, you'll see that it "... uses a <div> element, causing it to be displayed with block layout." Try starting with a HorizontalPanel widget as the container widget instead of FlowPanel. There are other container widgets that will "skin the cat" (e.g. Grid widget), but for a GWT novice in this thread, HorizontalPanel is a good place to start. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
