This is a migrated thread and some comments may be shown as answers.

Fixed Height for Slots

1 Answer 16 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 23 Jul 2018, 01:34 PM

Hello,

 

I would like to have fixed heights for the slots even when I change the Minor/MajorTickLength.

Currently I get this (5minutes.jpg, 15minutes.jpg and 30minutes.jpg)

and the result I would like to have is: 5minutesRight.jpg, 15minutes.jpg, 30minutesRight.jpg

I tried setting the VerticalWeekMinor/MajorItemTemplate or the MinAppointmentHeight to fixed height but that didn't yield the result I was looking for.

Any help would be appreciated.

 

Best regards!

 

 

1 Answer, 1 is accepted

Sort by
0
Dinko
Telerik team
answered on 26 Jul 2018, 10:15 AM
Hello Martin,

Thank you for the provided images.

What you could try to configure the TimeRuler is to set the MinTimeRulerExtent/MaxTimeRulerExtent properties. You can read more about these properties in the TimeRuler Configuration help article in our documentation. In your case, you can try setting the MinTimeRulerExtent property to 3000 for example. Keep in mind that these properties control the height of the TimeRuler in pixels.

Regards,
Dinko
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
ScheduleView
Asked by
Martin
Top achievements
Rank 1
Answers by
Dinko
Telerik team
Share this question
or