Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Increase space between items of print container

    Hi Admin,

    The environment details are as follows :-

    1.SmartClient_83_PowerEdition
    2. IE 10


    The issue is that I am unable to set vertical space/margin between the contents of the Vlayout, which is shown in the print preview. I tried increasing the membersMargin & layoutMargin for it but alas it didn’t help. I also added an empty lable but that didnt help either.
    Will be great if you could please advise how to keep the margin so that the Cube and the chart are not very close to each other, in the print out.

    The code is as follows:
    isc.VLayout.create({
    // showEdges: true,
    ID: "printContainer",
    top: 250, left: 450, height: "100%", width: "100%",
    membersMargin: 125, layoutMargin: 100,
    members: [
    reponame, gridSproc
    ]
    });


    isc.IButton.create({
    id: "btnPrint",
    left: 515, width: 55, top: 190, height: 20,
    border: "1px solid #808080",
    title: "Print",
    autoDraw: true,
    click: function () {
    //alert('from Print');
    jQuery.support.cors = false;
    var widthContainer = printContainer.width;

    if (typeof (defaultChart) !== 'undefined' && defaultChart !== null) {

    printContainer.members.add(defaultChart);


    }
    else if (typeof (simpleChart) !== 'undefined' && simpleChart !== null) {

    printContainer.members.add(simpleChart);

    }

    isc.Canvas.showPrintPreview(printContainer);

    jQuery.support.cors = CrossDomain;
    }
    });

    #2
    also tried adding the LayoutSpacer

    To add, i also tried adding the LayoutSpacer to the printcontainer but even this is not helping.

    Comment

    Working...
    X