A FlowPanel will act like a vertical panel (since block-level elements will naturally stack up vertically) unless you change the CSS property of it's children to float:left;
Have a look at this for further info: http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html On Feb 19, 6:17 am, Tan Jia Bao <[email protected]> wrote: > Hi, I'm currently making an e-commerce site using GWT and DnD. > > Basically everything is well and in order except for the displaying of the > panels is done correctly. > > I'm using GWT RPC to retrieve the data from my DAO, in my main GWT RPC > Client side, the data are used to create a new Widget where stuffs such as > the Product name and Image are used in. > > In that Widget's constructor, I put all the Labels, Image into a Vertical > Panel, the constructor is created with UsageExample client side file, in > that client file, I have a FlowPanel which adds the widget into itself. Then > my mainentrypoint calls and retrieves that FlowPanel and placing it into the > mainPanel to display on the webpage. > > Thing is, the FlowPanel doesn't display like a FlowPanel, but rather like a > VerticalPanel, I tried changing it to horizontalPanel and it works, > everything else works except for the FlowPanel. Can anyone help on what I'm > doing wrong? Thanks! -- 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.
