google-code-export / gwt-links

Automatically exported from code.google.com/p/gwt-links
2 stars 0 forks source link

How to make the DiagramController scrollable #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'd like to know how to make DiagramController scrollable, for example in your 
demo when you drag item to any side of the DiagramController it get extended to 
more width/height ? 

Thanks

Original issue reported on code.google.com by p.nesm...@gmail.com on 20 Jul 2011 at 6:13

GoogleCodeExporter commented 9 years ago
Check this example (not online yet) : 
http://code.google.com/p/gwt-links/source/browse/trunk/gwt-links-parent/gwt-link
s-demo/src/main/java/com/orange/links/demo/client/example/Example4.java

1 - set a frameSize : controller.setFrameSize(300, 300);
2 - then, get the view as a ScrollPanel and add it in your app : 
RootPanel.get().add(controller.getViewAsScrollPanel());

Original comment by pierre.r...@gmail.com on 21 Jul 2011 at 10:13

GoogleCodeExporter commented 9 years ago
I am trying to scroll too with your example and i can't, can you please pierre 
send us an eclipse project that contains the demo that you are saying because i 
can't use the example that you are talking about..

Thanks so much

Original comment by hafez.khaled on 22 Jul 2011 at 2:51

GoogleCodeExporter commented 9 years ago
Here is the eclipse project : http://ge.tt/9M77TF6
I hope it will help, I will update the online demo soon

Original comment by pierre.r...@gmail.com on 25 Jul 2011 at 2:01

GoogleCodeExporter commented 9 years ago

Original comment by pierre.r...@gmail.com on 2 Aug 2011 at 7:40