• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Vertical scroll bar on the page

 
Vikram Kohli
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Maneesh Godbole
Saloon Keeper
Posts: 11196
15
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try using DockPanel instead of DockLayoutPanel
 
Vikram Kohli
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Manish for you input.

DockPanel is also not working. Is there any property which I need to set.
 
Maneesh Godbole
Saloon Keeper
Posts: 11196
15
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic