Skip to main content



      Home
Home » Eclipse Projects » GEF » New lines in labels
New lines in labels [message #18365] Wed, 28 August 2002 11:34 Go to next message
Eclipse UserFriend
Originally posted by: g.wagenknecht.intershop.de

Hi!

Is there something special to activate this? If I set a label with text that
has some "new lines" as tool tip, the full text is displayed but if I add a
label to my figure, only the first line is displayed vertically centered.

Cu, Gunnar
Re: New lines in labels [message #18382 is a reply to message #18365] Wed, 28 August 2002 13:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hudsonr.spam.com

It sounds like you're not sizing the label. What layout is the label's
parent using?

For example, if the parent is in XYLayout, use -1,-1 as the width, height to
allow the label to be its preferredsize.

"Gunnar Wagenknecht" <g.wagenknecht@intershop.de> wrote in message
news:akipv4$r1t$1@rogue.oti.com...
> Hi!
>
> Is there something special to activate this? If I set a label with text
that
> has some "new lines" as tool tip, the full text is displayed but if I add
a
> label to my figure, only the first line is displayed vertically centered.
>
> Cu, Gunnar
>
>
Re: New lines in labels [message #18398 is a reply to message #18382] Thu, 29 August 2002 03:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: g.wagenknecht.intershop.de

Hi!

"Randy Hudson" <hudsonr@spam.com> schrieb im Newsbeitrag
news:akj0ib$v00$1@rogue.oti.com...
> It sounds like you're not sizing the label. What layout is the label's
> parent using?
>
> For example, if the parent is in XYLayout, use -1,-1 as the width, height
to
> allow the label to be its preferredsize.

The parent is sized to a grid (fixed height and width) and the label is
sized to the parent. There is enough space to display more than one line but
not enough space to display the full line length.

Cu, Gunnar
Re: New lines in labels [message #18412 is a reply to message #18398] Thu, 29 August 2002 07:57 Go to previous message
Eclipse UserFriend
Originally posted by: g.wagenknecht.intershop.de

Hi!

"Gunnar Wagenknecht" <g.wagenknecht@intershop.de> schrieb im Newsbeitrag
news:akkgcg$k90$1@rogue.oti.com...

> The parent is sized to a grid (fixed height and width) and the label is
> sized to the parent. There is enough space to display more than one line
but
> not enough space to display the full line length.

command back! -1/-1 is working!
Previous Topic:Customize the position of dragger for bendpoints
Next Topic:SelectionEditPolicy
Goto Forum:
  


Current Time: Tue Jul 22 12:06:54 EDT 2025

Powered by FUDForum. Page generated in 0.05935 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top