Hi! When we run grapheditor, the main view (the panel where the graph is displayed) is vertical oriented. I know we can change the orientation to horizontal on the page setup menu, but what I really want is to change the code to get a default horizontal view... I found this line of code responsible for the splitPane, but its not easy for me to find the solution:

    JSplitPane outer = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, inner,

asked 24 Oct '12, 09:32

Claudio%20Pires's gravatar image

Claudio Pires
accept rate: 0%

Use mxGraphComponent.setPageFormat.


answered 24 Oct '12, 10:05

Gaudenz's gravatar image

accept rate: 39%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 24 Oct '12, 09:32

Seen: 600 times

Last updated: 24 Oct '12, 10:05