Skip to main content



      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
Eclipse UserFriend
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] by 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
Eclipse UserFriend
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] by 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
Eclipse UserFriend
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 371 times)
  • Attachment: grey.JPG
    (Size: 29.14KB, Downloaded 380 times)
Previous Topic:GMF multi views
Next Topic:combined GMF Editors
Goto Forum:
  


Current Time: Sun Aug 31 04:46:39 EDT 2025

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

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

Back to the top