|
|
|
Re: A multiline label with a scroll bar [message #148814 is a reply to message #148798] |
Fri, 27 August 2004 13:37  |
Eclipse User |
|
|
|
MultiLineLabel is a widget that hosts a LightweightSystem. Since you
already have a LWS, you just need the "contents" of the LWS in
MultiLineLabel. However, I believe it uses native scrollbars (gotten from
FigureCanvas). You'll have to replace that with a Draw2D scroll pane. So,
in short, create a scroll pane, and set the view to be the same as the
contents of the MultiLineLabel.
"Sergey Vyunnikov" <sergeyv@offshorecreations.com> wrote in message
news:cgnjsi$7f7$1@eclipse.org...
> I need IFigure not Widget.
>
> "Pratik Shah" <ppshah@us.ibm.com> wrote in message
> news:cgnjfe$6mp$1@eclipse.org...
> > Look at org.eclipse.draw2d.widgets.MultiLineLabel.
> >
> > "Sergey Vyunnikov" <sergeyv@offshorecreations.com> wrote in message
> > news:cgmpc6$nji$1@eclipse.org...
> > > Hello
> > >
> > > How to create a multiline label with a scroll bar?
> > >
> > > Thanks
> > > Vyunnikov Sergey
> > >
> > >
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.08065 seconds