When I want to create a website like app, I use as many HTML tags as possible with UiBinder. Then, I use CSS to sets the position, border, color... and never the GWT methods. That way, I have a true web site but using GWT. I don't like to create a website-like app (something that looks like a web site but with widgets like in app): you want a website (HTML + CSS) or an app (Widgets + Layout).
Olivier On 26 mai, 13:53, googelybear <[email protected]> wrote: > Are you not afraid that they will get removed soon? > I always get deprecated warnings when using them: "StackPanel is > deprecated. Use the StackLayoutPanel instead." and same for others > (DockPanel, TabPanel, ...). > > What's the official policy on this? > > On May 26, 11:49 am, Olivier Monaco <[email protected]> wrote: > > > For a "traditionnallayout", I use the "old school"panels. It's not > > really a old school, it just has another goal. > > > Olivier > > > On 26 mai, 10:33, googelybear <[email protected]> wrote: > > > > Hi, > > > > I am developing a webapp that should "behave" like atraditionalweb > > > page, meaning that when the content grows in height the browser should > > > display a vertical scroll bar. Unfortunately I was foolish and jumped > > > right in on the new, shinylayoutpanels. As I found out later these > > > are not suitable for me, as they create a more "application-like" look > > > and feel with scrollbars displayed in the individual gwtpanels > > > instead of the browser (try resizing e.g. google wave -> When the > > > available area is too small scrollbars will appear inside all the > > >panels, the browser will never display any scrollbars) and also they > > > are working with lots of fixed sizes (in my case the content is > > > dynamic). > > > I tried toachievethetraditionalbehaviorwith my LayoutPanels but > > > failed. I couldn't get the browser to display scrollbars, only inner- > > > panel scrolling, and stuffing a layoutpanel inside a scrollpanel is > > > not the desirable approach (stuffinglayoutpanelsinside non-layout > > >panelsusually ended badly for me..). > > > So my conclusion is to revert to the "old school"panels. But I am > > > afraid that support of these will be dropped soon. What do you think? > > > Are there better alternatives? Anyone fought with a similar problem? > > > > thanks for any suggestions, > > > Dennis -- 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.
