Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Defining a maximun size for a node
Defining a maximun size for a node [message #1065624] Wed, 26 June 2013 14:24 Go to next message
Phil H is currently offline Phil H
Messages: 267
Registered: November 2012
Senior Member
Hi,

I would like to define a maximun size for my label, so that it can't get bigger than for example a width of 80. Using the Maximum Size Dimension hasn't worked so far. Also the hint from this thread doesn't worked: http://www.eclipse.org/forums/index.php/m/181485/

The label is still growing as big as I'm writing:

index.php/fa/15377/0/

Any Ideas what is possibly going wrong?

[Updated on: Thu, 27 June 2013 10:42]

Report message to a moderator

Re: Defining a maximun size for a node [message #1066679 is a reply to message #1065624] Wed, 03 July 2013 13:35 Go to previous messageGo to next message
Michael Golubev is currently offline Michael Golubev
Messages: 373
Registered: July 2009
Senior Member
Hello,

What are the layouts set for yellow rectangle and grey round rectangles?

Some draw2d layouts ignores the max size completely, and the only way to force implementation to respect this setting is to change layout.

Regards,
Michael

[Updated on: Wed, 03 July 2013 13:35]

Report message to a moderator

Re: Defining a maximun size for a node [message #1066774 is a reply to message #1066679] Thu, 04 July 2013 06:28 Go to previous message
Phil H is currently offline Phil H
Messages: 267
Registered: November 2012
Senior Member
Hi,

I'm using only a grid layout. Maybe this isn't the right layout?

index.php/fa/15471/0/

index.php/fa/15472/0/
  • Attachment: yelloow.JPG
    (Size: 19.08KB, Downloaded 90 times)
  • Attachment: grey.JPG
    (Size: 29.14KB, Downloaded 91 times)
Previous Topic:GMF multi views
Next Topic:combined GMF Editors
Goto Forum:
  


Current Time: Thu Aug 21 10:20:07 EDT 2014

Powered by FUDForum. Page generated in 0.01643 seconds