I've noticed the same problem. This is not a real fix, because it causes 
the scrollbar to be visible all the time, but if you set a custom scrollbar 
in webkit, it avoids the problem. For example, add this to your CSS, as it 
looks kind of similar to the Mavericks scrollbar, just a little lighter so 
it doesn't draw the eye as much:

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-thumb {
    width: 7px;
    -webkit-border-radius:3px;
    border-radius:3px;
    background:rgba(0,0,0,0.3);
}

I'd rather have a real fix though.

On Saturday, August 10, 2013 11:02:47 PM UTC+2, harshyadav wrote:
>
> Found in GWT 2.5
> *Encountered on OS / Browser:*
>
> Mac OSX 10.8.4, Chrome, Safari. This is not an issue on Firefox.
> *Detailed description:*
>
> While using the DataGrid, an extra scroll bar is visible.
> Please find attached a screenshot form the GWT showcase.
>
> In my application, I am using DataGrid 
> (http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwDataGrid) 
> combined with LazyScrolling example provided in the showcase 
> (http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwCellList).
>
>
> I am using DataGrid in ui binder as:
>
> <h:LazyDataGrid ui:field="itsCellTable" pageSize="30"  height="520px" 
> width="100%" />
>
> LazyDataGrid extends DataGrid to expose grid's scroll panel as:
>
> public ScrollPanel getScrollPanel() {
>               HeaderPanel header = (HeaderPanel) getWidget();
>               return (ScrollPanel) header.getContentWidget();
>       }
>
> This results in appearance of an extra (non-functional) scroll bar when the 
> page loads (See attached screenshot).
>
> Thanks in advance.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to