Hi,
I have a strange problem using a palette.
I made a collapsible panel with Jquery and after changed the width and visibility of the div of the palette I called the requestUpdate method of the palette diagram.
The problem is that the diagram updates only when I pass over a node with mouse.
After put mouse over the icon the palette displays completely.
Here is what I’ve done to re-size the diagram :
var styles = {
display:"table-cell",
border: "solid 1px #ececec",
width: "250px",
height: "600px"
};
$(’#divPalette’).css(styles);
$(’#paletteContainer’).show();
$(’#toolbar’).animate({ width: “250px” }, 400);
$(’#close’).show();
$(’#open’).hide();
myPublicXsdPalette.requestUpdate();
Could you help me please?
Thank you very much!
Andre