Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] scrollbars for Link?

Link doesn't have scrollbars (it is not a subclass of Scrollable).
See  ScrolledComposite.

In the future, please use the newsgroups of user questions.
Thank you
Felipe





Alexandra Niculai <alexa1784@xxxxxxxxx> 
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx
06/04/2009 06:39 AM
Please respond to
"Eclipse Platform SWT component developers list." 
<platform-swt-dev@xxxxxxxxxxx>


To
swt mailing list <platform-swt-dev@xxxxxxxxxxx>
cc

Subject
[platform-swt-dev] scrollbars for Link?






Hello

Does anyone know if scrollbars work for Link? I've tryed the snippet182 
and I modfied it a little:

Link link = new Link(shell, SWT.BORDER | SWT.V_SCROLL | SWT.H_SCROLL);

Then  put a lot of text in it.

I saw that it is necessary to set the dimensions of this widget, like in 
the snippet:

link.setSize(140, 40);

But then I don't see more than this size. I get no scollbars, even if I 
did mention the swt.v_scroll and swt.h_scroll.

Can anyone please help me understand how to solve this problem?

Thank you!

Alexandra N.
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev




Back to the top