aspose file tools*
The moose likes GWT and the fly likes Vertical scroll bar on the page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Vertical scroll bar on the page" Watch "Vertical scroll bar on the page" New topic
Author

Vertical scroll bar on the page

Vikram Kohli
Ranch Hand

Joined: Nov 27, 2005
Posts: 174
Hi All,

I am pretty new to the GWT world.I am trying to get the vertical scrollable pages. I am using GWT 2.4 and UiBinder to achieve my page layouts. Throughout my application I have a header section, main content area section and footer section.

I have created a separate composite for header , footer. I am using the DockLayoutPanel. To the north of the dock panel and I am adding my header , to south of dock panel my footer and to the center of dock panel all my pages created using UiBinder. UiBinder pages make use of the HTML panel .

My problem is as my main content area grows, I am not able to get the vertical scroll on the page. One solution for this is using ScrollPanel as parent of HTMLPanel in in my UiBinder pages. But then only my main content area gets the vertical scroll page, not the hole web page itself.

Please help me to get the vertical scroll bar.

Regards,
Vikram


Vikram PracLabs
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

Try using DockPanel instead of DockLayoutPanel


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Vikram Kohli
Ranch Hand

Joined: Nov 27, 2005
Posts: 174
Thanks Manish for you input.

DockPanel is also not working. Is there any property which I need to set.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

Vikram Kohli wrote:
DockPanel is also not working.

Please TellTheDetails. What was your expected behavior? What did you end up with?
Ok. I remember you might need to invoke Window#enableScrolling(boolean scrolling)
 
 
subject: Vertical scroll bar on the page