[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Table width and scroll bars

Hopefully this is an easy one. I have a table and due to the initial size of the View, it starts out with only displaying about 10 rows. During normal processing, if I put 10 or less rows on the table, everything is fine. When I put more than 10, it requires a vertical scroll bar. When the vertical scroll bar is added it takes up part of the table width and a horizontal scroll bar is added. If I barely resize the View (either larger or smaller), the horizontal scroll bar disappears and I can still see all the table data fine.

Is there something I can do, possibly a resize event, so that the horizontal scroll bar does not appear when it really doesn't need to be there (just because a horizontal scroll bar was added)?

Thanks.