Resizing labels in SWT [message #441385] |
Fri, 13 August 2004 14:56 |
Eclipse User |
|
|
|
Originally posted by: tim.seed.lvs.co.uk
I'm trying to write my own tooltip stuff. I'm using a label to display the
tip. Can anyone tell me how to force a label to resize itself? I set the
text and it goes off the end of the label. It is very frustrating!
Thanks for any help.
|
|
|
|
Re: Resizing labels in SWT [message #441393 is a reply to message #441390] |
Fri, 13 August 2004 15:11 |
Eclipse User |
|
|
|
Originally posted by: tim.seed.lvs.co.uk
It works! Thank you so much Carolyn, you have no idea how long I have been
trying to get this to work!
Carolyn MacLeod wrote:
> Try
> label.pack();
> ?
> Or maybe just pack your Shell (I assume you have a borderless Shell holding
> the Label to emulate the tooltip?)
> Carolyn
> "Tim Seed" <tim.seed@lvs.co.uk> wrote in message
> news:cfikqo$ki9$1@eclipse.org...
> > I'm trying to write my own tooltip stuff. I'm using a label to display the
> > tip. Can anyone tell me how to force a label to resize itself? I set the
> > text and it goes off the end of the label. It is very frustrating!
> >
> > Thanks for any help.
> >
|
|
|
|
Powered by
FUDForum. Page generated in 0.03417 seconds