Suggestion T3746
Visible to All Users

Not able to chage the designer height.

created 6 years ago

Hi Team,

Wanted to understand if there is a way to change in height of designer programatically. By height of designer I mean the outer height and not the canvas height. Refer below screenshot, height in blu.
Clipboard-File-1.png

Show previous comments (6)
AR AR
Abhishek Rastogi 6 years ago

    Hi Team,

    This looks good. We required exactly this property.
    I believe this property is not changeable right? As in is there a way to change this height when the control is already rendered. For example if I want to change the height on addition of a question.

    Something like this: https://plnkr.co/edit/FbKYygQxBmAGT8Q0

    Thanks,
    Abhishek

    AR AR
    Abhishek Rastogi 6 years ago

      Hi Team,

      Basically wanted to update this height as the screen size reduces. The designer height should be responsive to the window size,

      thanks,
      Abhishek

        Hello,

        In the recently released v1.7.8 the Fit SurveyJS Creator into given area (div or another container element) feature has been implemented. Now the designerHeight is set to the whole SurveyJS Creator height. The default value is 1000px. If you set it to "" then designer will fit the parent container.

        Thanks, Serge
        SurveyJS Team