Layout issue with GLSP 1.0 #775
-
I am using https://github.com/eclipse-glsp/glsp-vscode-integration project, Earlier I was using GLSP 0.9.0 version, and I uplifted to 1.0.0 version Copied packages\vscode-integration and \packages\vscode-integration-webview projects from https://github.com/eclipse-glsp/glsp-vscode-integration. Also, I copied yarn.lock file I am able to build the projects with yarn command. But I have below layout issue. Issue: Scroll bar is visible in the diagram editor and size of diagram view port is reduced by 50%. Another half of viewport is used to display model source loading messages. With https://github.com/eclipse-glsp/glsp-vscode-integration we are not facing this issue (no scroll bar). How to fix this issue? What might the reason? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found reason for this issue, Recently GLSP has added DefaultTypes.GRAPH SVG type. But I disabled move feature of DefaultTypes.GRAPH type which is the root cause for this issue. So, this issue is resolved |
Beta Was this translation helpful? Give feedback.
I found reason for this issue,
Recently GLSP has added DefaultTypes.GRAPH SVG type.
configureModelElement(context, DefaultTypes.GRAPH, GLSPGraph, GLSPProjectionView).
But I disabled move feature of DefaultTypes.GRAPH type which is the root cause for this issue.
configureModelElement(context, DefaultTypes.GRAPH, GLSPGraph, GLSPProjectionView, { disable: [moveFeature] });
So, this issue is resolved