Thursday, September 13, 2012

Re: how to remove the vertical bar in the listbox

For me the scrollbar dissapears when i use: setVisibleItemCount(int count), to be one more item than the ListBox are holding.

So if you have 10 items in the ListBox, set VisibleItemCount to 11. Not a nice solution, but it seems to work.

Den onsdagen den 16:e februari 2011 kl. 20:28:57 UTC+1 skrev mars:
i have a list box in my application, but i don't want to show the
vertical scroll bar on the right side, is there any way to remove it?
here is my code:

<g:ListBox visibleItemCount='3' width="15em">
        <g:item>Last 7 Days</g:item>
        <g:item>Last Week</g:item>
        <g:item>Last Month</g:item>
</g:ListBox>


Thanks!

--
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/-/Q-f7_kfYpIoJ.
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate