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

Restricting row height in horizontal grouping

2 Answers 92 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Philipp
Top achievements
Rank 1
Philipp asked on 14 May 2014, 04:40 PM
Hi all

I have a RadScheduleView grouped by resources in a horizontal view. My problem now is that if the view does not contain many rows, every row is stretched so that the rows take all space (see screenshot). This doesn't seem to be because of any of my templates (which don't resize).

In order to simplify diagnosis, please check the second screenshot. I overwrote the height of all elements in the style, including the groupheader (green background). Basically, that GroupHeader doesn't have a parent anymore, it's just part of it's parent (AppointmentsPanel). I assume that parent stretches content, which I something I'd rather not have as it screws the layout.

What I basically want is a automatic height, rather than the control stretching all rows to take up all vertical space. Any idea how I can set this?

Thanks
Philipp

2 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 19 May 2014, 11:50 AM
Hi Philipp,

Could you please check whether you've not set StretchGroupHeaders property of the TimelineViewDefinition to true? Setting this property actually stretched the group headers, so that they take all the space.

Let us know whether this helps.

Regards,
Yana
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Philipp
Top achievements
Rank 1
answered on 19 May 2014, 01:17 PM
Hi Yana

That fixed it! The property wasn't set at all, and I guess it defaults to true. Thanks for the pointer :)
Tags
ScheduleView
Asked by
Philipp
Top achievements
Rank 1
Answers by
Yana
Telerik team
Philipp
Top achievements
Rank 1
Share this question
or