Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6983491
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:25:32+00:00 2026-05-27T18:25:32+00:00

I am using UiBinder and a DockLayoutPanel as shown below. I am adding a

  • 0

I am using UiBinder and a DockLayoutPanel as shown below. I am adding a custom CellTable to the ScrollPanel named “contentPanel”.

When the CellTable is created for the first time, a horizonal scrollbar appears (along with the cellTableLoading.gif). Once the CellTable is finishing loading the horizontal scrollbar disappears.

How can I prevent the horizontal scrollbar from appearing in the first place?

I’d be happy to provide any other info that will help troubleshoot the problem. Many thanks!

<g:DockLayoutPanel unit='PX' styleName="{style.wrap}">
    <g:north size='180'>
        <g:HTMLPanel styleName='{style.header}'>
            <g:Hyperlink ui:field="logoutLink" styleName="{style.login}"/>
        </g:HTMLPanel>
    </g:north>
    <g:south size="70">
        <g:HTMLPanel styleName="{style.footer}">
            <g:Label>&copy; Copyright by</g:Label>
        </g:HTMLPanel>
    </g:south>
    <g:center>
        <g:HTMLPanel styleName='{style.content}'>
            <g:SimplePanel styleName='{style.left}' ui:field="navigationPanel" />
            <g:ScrollPanel styleName='{style.right}' ui:field='contentPanel' />
            <div style="clear: both;" ></div>
        </g:HTMLPanel>
    </g:center>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:25:33+00:00Added an answer on May 27, 2026 at 6:25 pm

    Impossible to tell why it happens without seeing the markup that’s being generated and your CSS styles, but to turn off the scrollbars temporarily you can do the following:

    // Before you load your table
    contentPanel.getElement().getStyle().setOverflow(Overflow.HIDDEN);
    // load your table
    // ....
    // after table is loaded
    contentPanel.getElement().getStyle().setOverflow(Overflow.AUTO);
    

    As a side note, you should also implement the panel inside <g:center> as a LayoutPanel instead of floated divs. It will give you a much more predictable layout:

    <g:center>
        <g:LayoutPanel styleName='{style.content}'>
            <g:layer left="0" width="200px">
                <g:SimplePanel styleName='{style.left}' ui:field="navigationPanel" />
            </g:layer>
            <g:layer right="0" left="200px">
                <g:ScrollPanel styleName='{style.right}' ui:field='contentPanel' />
            </g:layer>
        </g:LayoutPanel>
    </g:center>
    

    You would also, obviously need to remove any box model related styles from .left and .right, like width and float.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If I create a Composite Widget using UIBinder, then use my created widget in
I recently created a flextable using GWT 2.4 using this code: @uiBinder Flextable flextable;
When using UiBinder what is the preferred method of creating a simple layout like
I have been using UIBinder on SmartGWT widgets rather successfully. However, I have to
I have a layout in Google Web Toolkit using UIBinder involving a TabLayoutPanel .
I'm having some trouble getting a SplitLayoutPanel to display using UiBinder. It seems like
I am using gwt uibinder. I want to dynamically set values to a field.
We are using GWT & GWTP with UiBinder and I want to use properties
I'm writing a GWT widget using UIBinder and MVP. The widget's default styles are
I'm using GWT 2.4 and uiBinder to add widgets to a page. Now I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.