|
|
Re: TableViewer & scroll bars [message #668632 is a reply to message #668631] |
Fri, 06 May 2011 09:50  |
Eclipse User |
|
|
|
Just to clarify, when I say column width, I don't mean the width of the
content in the column, but the width of the column itself, as set by either
TableColumn.setWidth() or TableColumn.pack().
Grant
"Grant Gayed" <grant_gayed@ca.ibm.com> wrote in message
news:iq0to3$ifa$1@news.eclipse.org...
> In a one-column table a horizontal scrollbar should be shown whenever the
> column's width is wider than the table's width. If the column's width is
> only slightly wider then the scrollbar thumb will fill most of the gutter;
> if the column's width is much larger than the table's width then the thumb
> will become smaller.
>
> If this is not what you're seeing then you should log a bug, and provide
> some means of reproducing the problem (eg.- a code snippet with the
> template from http://www.eclipse.org/swt/faq.php#whatisasnippet ).
>
> Grant
>
>
> "SBS" <jturnbul@uow.edu.au> wrote in message
> news:ipct2g$ljl$1@news.eclipse.org...
>>I have a one column table wrapped by a TableViewer. The viewer lives
>>inside a Composite using FillLayout. I am trying to adjust the width of
>>the single column when needed in an attempt to get a horizontal scroll bar
>>to appear which would facilitate scrolling to see the entire width of the
>>column. However, no matter what width I give the column, the best I can
>>get is a scroll bar that has a large thumb that fills up the bar so that
>>no actual scrolling is possible.
>>
>> How do I get a proper horizontal scroll bar to appear and function as
>> desired? I have tried resizing the table itself but then the scroll bar
>> is partially obscured.
>>
>> Thanks,
>>
>> -sbs
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.07763 seconds