GraphicalEditorWithFlyoutPalette without scroll bars [message #510970] |
Fri, 29 January 2010 06:19  |
Eclipse User |
|
|
|
The title pretty much says it. I have a (custom subclass of) GraphicalEditorWithFlyoutPalette that has scroll bars, because the figure inside it is too large. How can I remove the scrollbars. Obviously the default graphical viewer for GraphicalEditorWithFlyoutPalette is always a ScrollingGraphicalViewer, overwriting this leads to exceptions.
|
|
|
|
|
|
|
|
|
|
Re: GraphicalEditorWithFlyoutPalette without scroll bars [message #513620 is a reply to message #513532] |
Wed, 10 February 2010 12:27  |
Eclipse User |
|
|
|
Quote: | In fact, I tried to override configureGraphicalViewer(). I don't quite get the difference between create..., initialize... and configureGraphicalViewer(). I added the line suggested by Philipp, however my figure is not shown at all any more. It is indeed big, but is ok, if it is shown only partially. By the way, I have a ScalableFreeformRootEditPart
Any idea how to remove the scroll bars, but with having the Figure (containing a large image) still been drawn?
|
|
|
|
Powered by
FUDForum. Page generated in 0.66548 seconds