|scroll draw2d on a swt canvas [message #447708]
||Thu, 16 December 2004 13:43
Originally posted by: ssc.acentic.net|
I have a diagram example, which I took from the GEF page (
http://eclipse.org/articles/Article-GEF-Draw2d/GEF-Draw2d.ht ml ) and placed
it into a CTabItem. To make this work in the first place I put a Canvas in
the CTabItem and then placed the LightweightSystem on the Canvas. Basically
it works perfect,.... BUT how can I make this scrollable ??? If the diagram
is bigger then the shell, the overflow is lost.
I tried to put a ScrollComposite between the CTabItem and the Canvas but
that broke it and the diagram was not visible anymore.
Any idee how I can make this scrollable ?
Powered by FUDForum
. Page generated in 0.02246 seconds