Loading a file causes layout problems [message #237099] |
Fri, 20 July 2007 07:01 |
Eclipse User |
|
|
|
Originally posted by: ralffrotscher.web.de
Hello.
I've the following problem:
I create an editpart with another editpart as its children and than save the file. Then load the file and everything is okay but if I move the first created editpart (the parent), the child doesn't move.
This child editpart rest in its position. It seems that after loading the child doesn't know that it has a parent because without loading the problem doesn't exist.
I hope you can help me.
Greetings,
Ralf
|
|
|
|
Re: Loading a file causes layout problems [message #237206 is a reply to message #237099] |
Thu, 26 July 2007 06:56 |
Eclipse User |
|
|
|
Originally posted by: ralffrotscher.web.de
Hi.
I solved the problem. I maintain the layout information(position and size) of all graphical objects in my model. And the problem was that if I moved a parent edit part the layout information of the children weren't set. Now I update the layout information of all children recursively. That works.
Thanks Alex for your answer.
|
|
|
Powered by
FUDForum. Page generated in 0.02714 seconds