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 18:24 Go to next message
Phil H is currently offline Phil HFriend
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 14: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 17:35 Go to previous messageGo to next message
Michael Golubev is currently offline Michael GolubevFriend
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 17: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 10:28 Go to previous message
Phil H is currently offline Phil HFriend
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 101 times)
  • Attachment: grey.JPG
    (Size: 29.14KB, Downloaded 105 times)
Previous Topic:GMF multi views
Next Topic:combined GMF Editors
Goto Forum:
  


Current Time: Mon Dec 22 07:06:18 GMT 2014

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

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