Question

There's a question about using layout managers in GWT, which was however answered in the sense that no direct porting of Swing apps is possible. But I don't need this, I only want to use a sane way of positioning.

Is there a a port of MigLayout (or alike) to GWT?

Since a LayoutManager is mostly a way to set the component sizes and positions using some user preferences, it should be possible. Doing this for a HTML component is possible (and AFAIK some frameworks compute all sizes and positions on the server and avoid all associated HTML/CSS problems).

Was it helpful?

Solution 2

Although requested years ago, it looks like it hasn't been done yet.

Just one quotation:

I'm just getting started with GWT and I feel like I just stepped back into the dark ages with all the various layout panels and layout managers.

There's gxt-jglayout, which is JGoodies form layout implementation for Ext-GWT (GXT), but Ext-GWT is not free (it's dual licensed).

OTHER TIPS

Depending on your definition of crazy, the LayoutPanels built in to GWT are quite sane. There's a DockLayoutPanel with familiar north/south/east/west behavior, and also panels that allow more arbitrary percentages and positions. Combining them with CSS is very powerful and flexible.

http://code.google.com/webtoolkit/doc/latest/DevGuideUiPanels.html

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top