|
|
Re: Scrollbar [message #990725 is a reply to message #990434] |
Thu, 13 December 2012 20:38 |
Andreas Graf Messages: 211 Registered: July 2009 |
Senior Member |
|
|
Hi Lars,
I see no support out of the box. My idea, if I really wanted to implement this:
Add a scrollbar to the diagram at the correct position and do the relative positioning of the text shape to the container shape your self.
This is how I add a button to the diagram:
FigureCanvas fcvs = (FigureCanvas) graphicalViewer.getControl();
Composite composite = new Composite(fcvs, SWT.NONE);
if(logger.isDebugEnabled()) {
logger.error(parent);
}
composite.setBounds(30, 10, 80, 40);
composite.setLayout(new FillLayout(SWT.HORIZONTAL));
Button button = new Button(composite, SWT.NONE);
composite.layout();
[Updated on: Thu, 13 December 2012 20:39] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03677 seconds