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