Fix resize issue. Need to work on centering the node.
This commit is contained in:
@@ -106,7 +106,7 @@
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div id="zoom" class="buttonContainer" title="Zoom In">
|
||||
<div id="zoom" class="buttonContainer" title="Zoom">
|
||||
<fieldset>
|
||||
<div id="zoomIn" class="button" title="Zoom In">
|
||||
<div class="toolbarLabel">
|
||||
|
@@ -196,18 +196,18 @@ function buildMindmapDesigner() {
|
||||
// core.Monitor.setInstance(monitor);
|
||||
|
||||
var container = $('mindplot');
|
||||
// container.setStyles();
|
||||
|
||||
// Initialize Editor ...
|
||||
var screenWidth = window.getWidth();
|
||||
var screenHeight = window.getHeight();
|
||||
container.setStyles({
|
||||
height: parseInt(screen.height),
|
||||
width: parseInt(screen.width)
|
||||
});
|
||||
|
||||
// header - footer
|
||||
screenHeight = screenHeight - 115;
|
||||
|
||||
// body margin ...
|
||||
editorProperties.width = screenWidth;
|
||||
editorProperties.height = screenHeight;
|
||||
designer = new mindplot.MindmapDesigner(editorProperties, container);
|
||||
designer.setViewPort({
|
||||
height: parseInt(window.innerHeight - 150),
|
||||
width: parseInt(window.innerWidth - 200)
|
||||
});
|
||||
|
||||
if (mindplot.collaboration.CollaborationManager.getInstance().isCollaborationFrameworkAvailable()) {
|
||||
buildCollaborativeMindmapDesigner();
|
||||
|
Reference in New Issue
Block a user