Hi Joel,

I did a very-very simplified layout system based on
top,bottom,left,right,width and height CSS attributes:

http://69.20.122.77:8880/gwt-layout/

So far SimpleLayout, HBoxLayout & VBoxLayout are implemented.

Source files: http://69.20.122.77:8880/gwt-layout/org.gwt20.mosaic.demo.tbz2

The EntryPoint class for the demo is: http://pastebin.com/m27e7a4e7

Kind Regards,
George.

On Aug 6, 8:17 pm, Joel Webber <j...@google.com> wrote:
> George,
> The main difference between this layout system and that in gwt-mosaic (or
> ext, for that matter), is that it performs nearly zero work in Javascript
> (the one exception is that the layout widget hierarchy *does* have a
> provision for a post-layout fixup pass, but it's expected to do nothing 99%
> of the time). It requires that the layout you wish to achieve be expressible
> through the CSS properties left:, right:, top:, bottom:, width:, and
> height:. As I discuss in the design doc, this makes a huge difference in
> performance. To the extent that you can express mosaic layouts using the
> constraints available in the Layout class, it may be possible to merge the
> two.
>
> As for DesignGridLayout, I'm not entirely sure that Layout would be the
> right way to achieve this, but I could be wrong. It's been a while since I
> played with DesignGrid, and it would probably be better if we could find a
> way to express it as an html <table>, though I haven't investigated whether
> or not this is possible.
>
> Cheers,
> joel.
>
> On Thu, Aug 6, 2009 at 10:27 AM, ggeorg 
> <georgopoulos.georg...@gmail.com>wrote:
>
>
>
> > Hi,
>
> > I work for gwt-mosaic and implemented an "Absolute Javascript Layout"
> > system based on AbsolutePanel and (like SWING) on various
> > LayoutManagers:
>
> >http://code.google.com/p/gwt-mosaic/source/browse/branches/GWT-1.6/sr...
>
> >http://code.google.com/p/gwt-mosaic/source/browse/branches/GWT-1.6/sr...
>
> > I use the package protected method Widget.setLayoutData() for the
> > various layout hints.
>
> > So far it works good, at least I could port JGoodies Forms:
>
> >http://69.20.122.77/gwt-mosaic/Showcase.html#CwQuickStartExample
>
> > Other LayoutManagers are: FillLayout, BoxLayout, BorderLayout and
> > GridLayout.
>
> > The layout cascade in gwt-mosaic is based on HasLayoutManager
> > interface, that a container (panel) has to implement:
>
> >http://code.google.com/p/gwt-mosaic/source/browse/branches/GWT-1.6/sr...
>
> > Any widget can be added to a container that implements
> > HasLayoutManager there is no RequiresLayout interface.
>
> > I am interested in this topic because I want to adapt my code to the
> > new classes you provide and also I want to try if its possible to port
> >https://designgridlayout.dev.java.net/to GWT 2.0 new layout system.
>
> > Kind Regards,
> > George.
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to