Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Use Textwrap in Autosize
Use Textwrap in Autosize [message #208975] Fri, 17 October 2008 15:25
Eclipse UserFriend
Originally posted by: tobk42.gmx.de

Hello,

I have a diagram consisting of - among others - nodes that are simple
rectangles with a label. Now what I want for these nodes is that when I
hit the Autosize button the node is resizes to be as compact as possible
without cutting away any text while making use of the textwrap feature,
if necessary.

Example: Instead of Autosizing a node to
+---------------------------------------------------+
| Some node with lots of text that could be wrapped |
+---------------------------------------------------+
it should be autosized to
+----------------------------+
| Some node with lots of |
| text that could be wrapped |
+----------------------------+
or even
+-------------------+
| Some node with |
| lots of text that |
| could be wrapped |
+-------------------+
Is this possible, and if so, where should I start looking?

Regards,
tobias
Previous Topic:About code generation
Next Topic:[Announce] GMF 2.2.0 I200810151928 is available
Goto Forum:
  


Current Time: Sun Jan 17 19:25:59 GMT 2021

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

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

Back to the top