afterApply();
// set Shell size
IBrowserShell shell = m_widget.getState().getShell();
shell.prepare();
org.eclipse.swt.graphics.Rectangle shellBounds =
shell.computeTrim(0, 0, size.width, size.height);
shell.setSize(shellBounds.width + SIZE_EXPAND, shellBounds.height + SIZE_EXPAND);
}
private void doApply(Dimension resourceSize) throws Exception {
applySizeUsingScript(resourceSize);