I've a Section which I tell to align vertically.
- Code: Select all
Section section = toolkit.createSection(form.getBody(), Section.TITLE_BAR | Section.FOCUS_TITLE | Section.EXPANDED | Section.TWISTIE);
TableWrapData data = new TableWrapData(TableWrapData.FILL);
data.align = TableWrapData.FILL;
data.grabVertical = true;
The Code above is generated by the SWT-Designer.
When adding controls into the sections client, the sections height is always just as high as the accumulated content of its client.
Sections covering all available vertical space wether there content requires it or not can be seen in the plugin manifeft editor ('Rutime' or 'Extensions' Tab).
My question is, how can I make my section as high as the FormEditor (ManagedForm), just as it can be seen in the plugin manifest editor?