Admittedly this was a bit unclear in my description:

I had used layout panels and inside them, a decorator panel.
Apparently it is a given with HTML and CSS that a height within a
table cell is ignored. So in my situation, the table cell has the
correct 100% height, but it doesn't seem possible to get the content
to size to 100% as the corresponding height tag is ignored (although
clearly present in Firebug). So I have been careful to ensure that all
the surrounding widgets have the correct height, it's just that for
the innermost one, the height is ignored..

On Aug 5, 7:18 am, lineman78 <[email protected]> wrote:
> The td being 100% will do nothing if the table isn't 100%.  Remember,
> % based is in relation to the parent, in the case of a td the table is
> set to auto size and therefore the cell being 100% won't matter.  I
> also suggest looking at the layout panel as a parent panel due to the
> fact that it helps with inconsistencies between browsers.
>
> On Aug 4, 7:11 am, Johannes Lehmann <[email protected]>
> wrote:
>
>
>
> > Hi,
>
> > I have the following problem: I want a window-like panel with rounded
> > corners inside a nested structure of other panels. The content of the
> > window should scale automatically (preferably via CSS: height 100%,
> > scaling it via ResizeHandlers introduces much scope for things to go
> > wrong).
>
> > Eventually I realized that heights in % are ignored if they are inside
> > a <td> table cell. So I changed my layout to only use <div> based
> > panels, of course finally realizing that unsurprisingly the
> > DecoratorPanel itself is a table. Changing that to a SimplePanel makes
> > everything work fine.
>
> > Does anyone have an elegant solution to how I could either achieve
> > what I want? Of course if needs be I can resize the contents of the
> > DecoratorPanel using a ResizeHandler, but it seems like there ought to
> > be a better way...
>
> > Cheers,
>
> > Johannes

-- 
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.

Reply via email to