Commit e98eaaea authored by Florian Hölzl's avatar Florian Hölzl
Browse files

bugfix

refs 902
parent f5a67a2f
......@@ -55,6 +55,8 @@ import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Listener;
import org.fortiss.af3.component.model.Component;
import org.fortiss.af3.component.model.ComponentArchitecture;
import org.fortiss.af3.deployment.model.ComponentAllocation;
......@@ -149,6 +151,15 @@ public class DeploymentEditorBackend extends DeploymentGEFEditorBase {
parent.setLayout(new FillLayout());
gui = new DeploymentEditorGUI(parent, SWT.NONE);
// BUGFIX: https://af3.fortiss.org/issues/902
gui.addListener(SWT.Resize, new Listener() {
@Override
public void handleEvent(Event event) {
gui.pack(true);
gui.layout(true, true);
}
});
initDeploymentModel();
setupCombos();
......
Supports Markdown
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