We use
- Code: Select all
stackLayout.topControl = composite;
If we edit the GUI with SWT Designer and switch to another topControl at design time, the line is deleted and inserted into the constructor using the last active top control.
Is there a way to avoid this?
I had the same problem with a tabfolder: I wanted to hide the tabs at runtime, but keeping them at design time for better overview.
Thanks in advance,
fridi