Reordering widgets within composite [message #557909] |
Thu, 09 September 2010 11:59 |
msultakov Messages: 6 Registered: September 2010 |
Junior Member |
|
|
Hello to everyone! I've got significant experience in Swing-based applications development, and was very surprised when I failed to do such a simple thing as dynamic changing the order of widgets within a composite in SWT.
To be more precise, I've got a composite with GridLayout. Some other widgets can be added, removed or moved up or down inside this composite by a user (i.e. when application is already running). I learned that removing is done via .dispose() method (which looked a bit strange after Swing, but it's OK), but Internet surfing didn't get me any suitable answer about reordering. As far as I understand, I can dispose and recreate components in a desired order each time, but it seems a bit ugly and is very likely to have UI performance impact.
Could you, please, tell me how I can get desired behaviour?
Thanks in advance!
|
|
|
|
|
Powered by
FUDForum. Page generated in 3.19492 seconds