Skip to main content

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 11:29 Go to next message
Marko Tomljenovic is currently offline Marko TomljenovicFriend
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 18:03 Go to previous message
Martin BurgerFriend
Messages: 21
Registered: July 2009
Junior Member
I think you have to call

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

before calling

Previous Topic:GEF/Draw2D installation on Mac OS Snow Leopard
Next Topic:Newly created connection doesn't use the anchor that is provided
Goto Forum:

Current Time: Mon Jun 18 23:30:54 GMT 2018

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

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

Back to the top