Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Label containg String and Figure, so Figure changes size when Font does
Label containg String and Figure, so Figure changes size when Font does [message #240505] Tue, 08 January 2008 14:25 Go to next message
Eclipse UserFriend
Originally posted by: urazimalex.yahoo.com

Hi

I want to have something like a Label that has Image and String.
But instead of image i want Figure. This Figure must change its size when
the size of the String Font is changed from properties(apearence) by the
user.

What i tried is making a NodeFigure cotaing a WrapLabel and Figure and
seting a layout for example ToolbarLayout. Problem is that when changing
size of string the figure doesn't resize together. I have One EditPart for
lots of figures containg this NodeFigure with its children (WrapLabel ,
Figure)

How do i keep the size of the Figure updated when the size of the String
in WrapLabel is changed on runtime ?

hope to get some feedback

Suliko
Please Help with Label Problem [message #240529 is a reply to message #240505] Wed, 09 January 2008 14:31 Go to previous message
Eclipse UserFriend
Originally posted by: urazimalex.yahoo.com

I have trouble in making a compound label Figure + Text
The fontstyle of this Text kan be changed by properties view by the editor
if the size is set to 30 i want the figure to change as well
How do i do this ?


any help is appresciated
Previous Topic:Context menu
Next Topic:Right-aligned text
Goto Forum:
  


Current Time: Thu Apr 25 17:38:56 GMT 2024

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

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

Back to the top