You mean DockLayoutPanel, right?
Anyway, makes perfect sense. The true challenge has always been with the
100% height desktop-app style layouts, which the new stuff will handle
beautifully.

Thanks.

- Amir

On Tue, Aug 11, 2009 at 12:38 PM, Joel Webber <[email protected]> wrote:

> Amir, Kango,
> A UI like Reader is very easy to formulate (it will be a lot easier when I
> check in DeckLayoutPanel). If you imagine a DeckPanel where 100% height
> actually works properly, you would write something like this:
>
> p.add(header, NORTH);
> p.add(navPane, WEST);
> p.add(footer, SOUTH);
> p.add(content, CENTER);
>
> Amir's right to point out that this *doesn't* work if you don't want the
> layout to be 100% height (or some other fixed height, but where there's no
> scrollbar on the  body element). But that actually already works just fine
> with plain old CSS or DockPanels. It's the 100% height and interior
> scrolling that's hard to do at present.
>
> Cheers,
> joel.
>
>
> On Mon, Aug 10, 2009 at 6:34 PM, Kango_V <[email protected]> wrote:
>
>>
>> Amir, this is the exact case I am working on.  I'm trting to implement
>> an interface not dissimilar to Google Reader.  It has a footer at the
>> bottom of the grid for next prev buttons.
>>
>> Can this layout handle this?
>>
>> Excellent work as always.  I'm keenly following this.  Can't get it
>> quick enough :)
>>
>> On Aug 10, 9:26 am, Amir Kashani <[email protected]> wrote:
>> > Joel,
>> > I love how this is turning out so far, great work. While this system
>> handles
>> > a vast majority of layout situations, correct me if I'm wrong, but I
>> think
>> > it breaks down with non-100% height layouts that require a footer. An
>> > example: a header area, followed by a horizontally split content area
>> (body
>> > and side nav), followed by a footer. I can't think of a way you could
>> > represent this using absolute positioning that would guarantee the
>> footer
>> > area isn't encroached upon.
>> >
>> > Any thoughts on how LayoutPanel would handle this? Maybe this doesn't
>> fall
>> > under "desktop-like" layouts and it's handled with floats (which aren't
>> so
>> > terrible in this particular case)?
>> >
>> > - Amir
>> >
>> > On Mon, Aug 3, 2009 at 12:13 PM, <[email protected]> wrote:
>> >
>> > > Reviewers: jlabanca,
>> >
>> > > Please review this athttp://gwt-code-reviews.appspot.com/51830
>> >
>> > > Affected files:
>> > >   A     layout/Layout.gwt.xml
>> > >   A     layout/client/Layout.java
>> > >   A     layout/client/LayoutImpl.java
>> > >   A     layout/client/LayoutImplIE6.java
>> > >   A     layout/client/UserAgent.java
>> > >   A     user/client/ui/HasAnimatedLayout.java
>> > >   A     user/client/ui/HasLayout.java
>> > >   A     user/client/ui/LayoutComposite.java
>> > >   A     user/client/ui/LayoutPanel.java
>> > >   A     user/client/ui/RootLayoutPanel.java
>> > >   M     user/client/ui/Widget.java
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to