Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How do i disable scrollbars in List?  RSS feed

 
Srinivas Nagesh
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am using AWT and a list control. How can i disable the horizontal scrollbars? Is it possible.?
Thanks
 
Pondy Prem
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If one of your text-entries in your list-box is longer than the list-box-width.. then u'd see the horizontal scrollbar...
Try increasing the width of listbox.. or reducing the length of longest string in listbox.
Thanks
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!