[SOLVED] GridLayout from SWT to GEF [message #814400] |
Tue, 06 March 2012 11:57 |
Ludwig Moser Messages: 476 Registered: July 2009 |
Senior Member |
|
|
Hi!
i've been fighting with GEF GridLayout for hours now. and failed.
i tried to do the exactly same stuff in SWT with GridLayout and finished successfully within a few minutes.
so then i tried to take my working swt code and transformed this in gef code.
which is pretty simple - but still it does not work (at all)
i created a simple runnable example for both of it (swt 3 classes and gef 4 classes as i have a wrapper for it (lws on canvas))
each of those examples is about 200 lines of code. (very very small)
if anyone is willed to help
if someone could point me to my mistake... would be great!
thanks in advance!
UPDATE: i found my dumb mistake:
lws.setContents(getRootFigure());
the best code does not work without this one...
[Updated on: Wed, 14 March 2012 20:02] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03416 seconds