BTW: this seems to be a bug.

The behaviour is different dependent on the browser.

- In IE 7 it is the behaviour I explained here.
- In Safari (for windows), FireFox, Opera and Chrome the setHeight do
set the height of the StackPanel, and not the size of the widget
inside.

Cheers
Tom

On 6 mei, 14:35, TomJanssens <[email protected]> wrote:
> Hello,
>
> Thanks for the quick answer.
>
> I can understand that for a "DecoratorPanel", but I was talking about
> the "DecoratedStackPanel". And the normal "StackPanel" has the same
> issues.
>
> It looks like I have to do workaround, and calculate the size of
> widgets in the "StackPanel".
>
> Cheers
> Tom
>
> On May 6, 1:13 pm, "alex.d" <[email protected]> wrote:
>
> > This was already discussed in this group. It's better to set thesize
> > of the widgets inside thedecoratedPanel.
>
> > On 6 Mai, 12:40, TomJanssens <[email protected]> wrote:
>
> > > Hello,
>
> > > I am using a DecoratedStackPanel in my application. If I call
> > > DecoratedStackPanel.setHeight() when the window is resized, the
> > > DecoratedStackPanel becomes too big. The values I am passing are
> > > correct. It seems like it is setting thesizeof the widget that is
> > > added to the DecoratedStackPanel, and not thesizeof the
> > > DecoratedStackPanel itself.
>
> > > Anybody facing the same problem?
>
> > > Cheers
> > > Tom
--~--~---------~--~----~------------~-------~--~----~
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