How to wrap label text? [message #16251] |
Tue, 06 August 2002 08:35  |
Eclipse User |
|
|
|
Originally posted by: tomas.pinos.atlas.cz
Hi,
is there a way how to force label to wrap its text (supposing the label
figure is a child figure of a rectangle)? Here's what I get - one line label
with truncated text:
------------------
| text1 text2 te...|
------------------
Here's what I'd like to get - "multilined" label.
------------------
| text1 text2 |
| text3
------------------
Or is this a problem of layout manager?
Another question - as Label figure corresponds to SWT Label control, is
there is a figure corresponding to SWT Text control?
Thanks!
Tomas
|
|
|
|
|
|
Re: How to wrap label text? [message #16745 is a reply to message #16291] |
Fri, 09 August 2002 10:55  |
Eclipse User |
|
|
|
Originally posted by: hudsonr.spam.com
Please connect anonymously to /home/tools @ CVS server "dev.eclipse.org".
In the HEAD stream, load org.eclipse.draw2d.test.
You could optionally load draw2d as source (or import as binary project),
and you will need SWT as well.
Run the FlowDemo class. The current problems have to do with calculation of
the scrollbars. I think I know what the problems are.
"Tomas Pinos" <tomas.pinos@atlas.cz> wrote in message
news:aip8ab$64c$1@rogue.oti.com...
> Thanks for the offer. Yes, I would like to help. What do I need to do?
>
> Tomas
>
>
> "Randy Hudson" <hudsonr@spam.com> wrote in message
> news:aip6u2$5av$1@rogue.oti.com...
> > This is not possible with the Label figure. You can insert newlines in
> the
> > text, but not automatic wrapping.
> >
> > We have some figures that are not released that perform this function.
> Are
> > you interested in helping us test and polish these classes? There are
> > layout inconsistencies which need to be resolved.
> >
> > "Tomas Pinos" <tomas.pinos@atlas.cz> wrote in message
> > news:aiofka$l4q$1@rogue.oti.com...
> > > Hi,
> > >
> > > is there a way how to force label to wrap its text (supposing the
label
> > > figure is a child figure of a rectangle)? Here's what I get - one line
> > label
> > > with truncated text:
> > > ------------------
> > > | text1 text2 te...|
> > > ------------------
> > > Here's what I'd like to get - "multilined" label.
> > > ------------------
> > > | text1 text2 |
> > > | text3
> > > ------------------
> > > Or is this a problem of layout manager?
> > >
> > > Another question - as Label figure corresponds to SWT Label control,
is
> > > there is a figure corresponding to SWT Text control?
> > >
> > > Thanks!
> > >
> > > Tomas
> > >
> > >
> > >
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.05132 seconds