Tuesday, December 18, 2012

Re: how to show horizontal scrollbar in scrollpanel automatically?

No, the scrollpanel overflow property is already auto, but the horizontal scrollbar cannot be shown in ie8 or FF13
I set the css using
scrollPanel.getElement().setAttribute("style", "width:210px;height:247px;border:1px solid #B5BBC8; overflow:auto;");

In FireFox, I use firebug and see
element.style{
   border: 1px solid #B5BBC8;
   height: 247px;
   overflow: auto;
   width: 210px;
}

On Wed, Dec 19, 2012 at 5:20 AM, Andrei <volgin@spiraluniverse.com> wrote:
This is not a standard behavior. You must have a CSS style applied to your scroll panel or its content which resets overflow property. It should be overflow:auto. 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/NX1QhsV7i84J.

To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment