Commit e3c89445 authored by Romain Bioteau's avatar Romain Bioteau

use a drop down menu item for new

parent d892de32
......@@ -166,7 +166,6 @@ public class CoolbarToolControl
private void createToolbar(final Composite toolbarContainer) {
toolbar = new ToolBar(toolbarContainer, SWT.FLAT | SWT.HORIZONTAL);
toolbar.setLayoutDeferred(true);
toolbar.setLayoutData(GridDataFactory.fillDefaults().align(SWT.FILL, SWT.CENTER).grab(true, true).create());
fillBonitaBar();
......@@ -198,8 +197,6 @@ public class CoolbarToolControl
}
}
});
toolbar.setLayoutDeferred(false);
toolbar.layout();
}
private void fillBonitaBar() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment