Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [Zest] Graph node not not resizing properly
[Zest] Graph node not not resizing properly [message #655861] Tue, 22 February 2011 21:41 Go to next message
Satyagraha 1956 is currently offline Satyagraha 1956Friend
Messages: 8
Registered: January 2010
Junior Member
I have a Zest graph node which delegates to a Figure containing a Label. When I change the label text to fewer characters, and applyLayout(), the node redraws properly in a smaller size. However, when I change the label text to more characters and applyLayout(), the node doesn't resize to be larger. So, there is a curious asymmetry here.

Basically my question is, what are the node/figure operations I should be invoking so that a node's size and shape are completely recomputed, as they were when it was first created?

Thanks for any input! Smile
Re: [Zest] Graph node not not resizing properly [message #656616 is a reply to message #655861] Sun, 27 February 2011 14:59 Go to previous message
Fabian Steeg is currently offline Fabian SteegFriend
Messages: 72
Registered: July 2009
Member
Sounds like a bug - it would be great if you could file a report and attach a snippet with some code showing the issue: http://bugs.eclipse.org/bugs/enter_bug.cgi?component=Zest&am p;product=GEF
Previous Topic:[Zest] Clearing a Graph
Next Topic:GEF ScrollingGraphicalViewer in MultiPageEditorPart?
Goto Forum:
  


Current Time: Mon Dec 22 14:15:03 GMT 2014

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

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