Skip to main content

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: 76
Registered: July 2009
Sounds like a bug - it would be great if you could file a report and attach a snippet with some code showing the issue: p;product=GEF
Previous Topic:How to handle changes in PropertySources
Next Topic:Draw2D Label preferred size
Goto Forum:

Current Time: Sat Jun 23 14:31:59 GMT 2018

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

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

Back to the top