[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Physical Screen Size Limiting Scrollable Component

There are some ScrolledComposite example snippets available at
http://www.eclipse.org/swt/snippets#scrolledcomposite .  If these do not
help then your best bet is to provide a snippet (template:
http://www.eclipse.org/swt/faq.php#whatisasnippet ) that reproduces the
problem, because it's difficult to know what's happening in your case just
based on your description.

Grant


"A. Rick Anderson" <arick@xxxxxxxxx> wrote in message
news:g0glvo$6r8$1@xxxxxxxxxxxxxxxxxxxx
> I have a large form that takes more vertical height then the physical
> screen permits.  I can't seem to find the magic combination to permit my
> scrollable composite to do this.
>
> I tried both methods outlined in The Definitive Guide to SWT and JFaces,
> using a composite as the child that is added to the scrollable
> composite.  Then I add three custom components to the composite.
>
> I've tried setting the size of the:
> the three custom components, the Composite, and the minimum size of the
> Scrollable Composite.
>
> However, no matter how tall I set the size of any of these three, or
> these three in combination, the height of the results seems to max out
> at the physical height of the window.
>
> What is strange is that the third component is being rendered.  But
> while the vertical scroll bar is present, it's not active, so I can't
> scroll vertically to get to the lower part of the third component.