| [news.eclipse.platform.swt] Re: Bug in Table scrollbar support |
This is the correct behavior. For example, the preferred height of a table with 100 items is a height that shows all 100 items. Most applications don't allow widgets such as tables to be at their preferred size. Instead, they place the widget in a layout and configure the layout data by setting a width and heigth.
OK (& thanks). What's the simplest way of doing this? - Dan
"Daniel Winterstein" <danielw@xxxxxxxxxxxx> wrote in message news:da5j13$f9a$1@xxxxxxxxxxxxxxxxxxx
I'm having a problem with scrollbars in the Table widget.
It seems that the table widget only gets scrollbars when it has its size forcibly set. If the table is allowed it's preferred size - and this does not fit in the window - then it is simple clipped with no scroll bars. This would seem to be quite a serious issue.
I'm using Eclipse 3.1 (RC4) and Windows XP. I've attached a screenshot of the SWT examples view that shows the problem. Has anyone else experienced this bug? - Dan
---------------------------------------------------------------------------- ----