• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Vertical scroll bar on the page

 
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try using DockPanel instead of DockLayoutPanel
 
Vikram Kohli
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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)
 
Is this the real life? Is this just fantasy? Is this a tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic