search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Modal dialog seems to have a max height of 250?

Asked by Georg Neumann
11 years ago.

Hi all,
I downloaded the tutorial of the Gantt chart and modified it a little bit. I want to be able to add some more details to the tasks and therefor I added some more text boxes to the news and edit dialogs. Not to scroll in the modal dialog I changed the height of the modal window in the modal.js script to 300, but when the window is displayed, I still have to scroll down to have the buttons. If I debug the initialisation of the modal dialog I see, that the height value is not set to 300 as I expected, it is set to 250.

Does anyone have an idea, what I'm doing wrong?

Answer posted by Dan Letecky [DayPilot]
11 years ago.

The version of DayPilot.Modal that can be downloaded at code.daypilot.org [http://code.daypilot.org/81367/daypilot-modal] supports three properties:

* height (the fixed height; the minimal height when autoStretch is enabled)
* autoStretch (whether to increase the height automatically to fit the content)
* maxHeight (the maximum height for autoStretch mode)

Could you please check the version of DayPilot.Modal you are using and let me know if it doesn't work as expected with 2.0?

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.