|XWT/WindowBuilder - Custom composite problem - replicate/double copy of component [message #857318]
||Thu, 26 April 2012 12:58
| Charles anon
Registered: December 2011
Ok, I think I'm slowly on my way to asking my question in the correct place.
I have created a simple custom composite component in WindowBuilder (a label
and progress bar). After adding it to the palette, I then introduce it to
the UI viewer. However, the component is displayed twice. I tried the
WindowBuilder Eclipse forum and I received the following response and advice
to contact the XWT authors. Has this already been filed as a bug? Is there a workaround for the problem in the meantime?
I don't remember already exactly why, but this seems to be related to XWT
First it creates Composite class (during this it renders XWT template on
it), and then it renders XWT template on the form where your place this
component. So, you have XWT template rendered twice.
This is an old issue we have discussed. The XWT is designed to find and load
automatically the associated UI. WindowsBuilder adds more codes to load the
UI in Java codes. Therefore, the UI gets doubled. I think we should remove
the Java codes.
If you have further issues about XWT, you can fill a bug in e4:
[Updated on: Thu, 26 April 2012 12:58]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.05107 seconds