Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Increase size of Zest graph
Increase size of Zest graph [message #501899] Fri, 04 December 2009 06:29 Go to next message
Marko Tomljenovic is currently offline Marko Tomljenovic
Messages: 62
Registered: July 2009
Hello all,
I am facing the following problem.
I have a view that contains a GraphViewer.
When I create a graph the layouter uses the available space of the view to layout all elements.

What I would like to do now is to manually increase the size of the graph.

I can increase the size of the graph using
but then the scrollbars are not shown any more.

Is there another way to resize the graph?

Greets Marko
Re: Increase size of Zest graph [message #729665 is a reply to message #501899] Mon, 26 September 2011 14:03 Go to previous message
Martin Burger
Messages: 21
Registered: July 2009
Junior Member
I think you have to call

GraphViewer.getGraphControl().setPreferredSize(int width, int height)

before calling

Previous Topic:[Zest] How to reveal a graph node
Next Topic:[Zest] Layout Algorithms aren't working for me in Zest 2
Goto Forum:

Current Time: Fri Aug 22 13:40:54 EDT 2014

Powered by FUDForum. Page generated in 0.17295 seconds