[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Bug in Table scrollbar support
|
If you are using a GridLayout, set the width and/or height when you create
the GridData.
"Daniel Winterstein" <danielw@xxxxxxxxxxxx> wrote in message
news:dah53j$3nv$1@xxxxxxxxxxxxxxxxxxx
> Steve Northover wrote:
> > 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
> >>
> >
> >
> >
>
> --------------------------------------------------------------------------
--
> > ----
> >
> >
> >
> >
> >