The problem is that we can only fix this for newer Ivy versions (10.0.32, 12.0.10, 13.2).
So currently there are to following solutions to fix this problem:
Patch Ivy
To patch your Pro Designer (Eclipse), you have to add the following snippet to the following file.
.sprotty-graph svg {
height: attr(height px);
width: attr(width px);
}
Pro Designer (Eclipse)
- v10.0.x:
AxonIvyDesigner/plugins/ch.ivyteam.glsp.eclipse.editor.client_*/diagram/assets/diagram-*.css
- v12.0.x / v13.x:
AxonIvyDesigner/plugins/ch.ivyteam.glsp.eclipse.editor.client_*/diagram/assets/index-*.css
Replace x with the corresponding version or hash.
For MacOS the plugins folder is in AxonIvyDesigner.app/Contents/Eclipse
Process Viewer (Pro Designer / Engine)
v10.0.x:
- Unpack
AxonIvyEngineOrDesigner/webapps/ivy/WEB-INF/lib/editor-client-standalone-*.jar
- Add snippet to the style tag of
META-INF/resources/process-editor/index.html
- Pack (compress)
META-INF as editor-client-standalone-*.jar
- Clear browser cache and reload
v12.0.x / v13.x:
- Unpack
AxonIvyEngineOrDesigner/webapps/ivy/WEB-INF/lib/process-viewer-client-*.jar
- Add snippet to
META-INF/resources/process-viewer/assets/index-*.css
- Pack (compress)
META-INF as process-viewer-client-*.jar
- Clear browser cache and reload
Neo Designer
- Unpack
AxonIvyEngine/webapps/neo-designer/neo-designer-*.jar
- Add snippet to
META-INF/resources/process-editor/assets/index-*.css
- Pack (compress)
META-INF as neo-designer-*jar
- Clear browser cache and reload
Replace x with the corresponding version or hash.