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

How to resize Navigator

Asked by Triccoteam
5 years ago.

We developed with the demo and got a compact navigator as shown in attachments.

After applying licensed version, navigator is huge. I can't figure out how to resize the nav-control.

Maybe someone has a solution.

Thank you.

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

In version 2019.2.3871, the default values of the following properties were changed from 20 to 30:

  • cellWidth, cellHeight, dayHeaderHeight, titleHeight

You can use the old values to make the Navigator smaller.

See also:
https://javascript.daypilot.org/daypilot-pro-for-javascript-2019-2-3871/

Comment posted by Triccoteam
5 years ago.

Thank's a lot. That works for me.

But by applying:
nav.titleHeight = "20";
nav.dayHeaderHeight = "20";

and

dp.headerHeight = "20";
dp.allDayEventHeight = "20";

Nav and Cal are looking weird, I'll post that in a new thread.

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