Hi,

I tried to post the below question a week ago but it still hasn't turned up on 
the forum. I received a copy of it but can't find it when I search the forum. 
Did I do anything wrong?

Best regards
Oskar


-----Ursprungligt meddelande-----
Från: goolie [mailto:[email protected]] 
Skickat: den 1 februari 2011 22:01
Till: Google Web Toolkit
Kopia: Kåver, Oskar
Ämne: Problem to set height in ScrollPanel in gwt 2.1.1

Hi,

I'm trying to update our project to gwt 2.1 but I have a problem with
the ScrollPanel.setHeight("100%") which doesn't seem to work. We have
the code:

                        myScrollPanel.add(myBigTable);
                        myScrollPanel.setHeight("100%");
                        initWidget(myScrollPanel);

which in 1.7.0 works fine but in 2.1.1 (or 2.1.0) doesn't work. See
image at http://www.agentinteractionsuite.se/diff_between_2.1.1_and_1.7.0.JPG
to clarify what I mean. The right hand side is correct and the left
hand is wrong. It seems like the scrollpanel won't get 100% height no
matter what I do. Have tried setting the height both with css and DOM
but nothing works. Removing the setHeight-line in the code above makes
it look the same (wrong) way with both versions.

Have I missed any essential information? Any ideas?

BR
Oskar

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