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

Unused space when RadTimeline is inside RadTimeBar

2 Answers 45 Views
TimeLine
This is a migrated thread and some comments may be shown as answers.
Sébastien
Top achievements
Rank 1
Sébastien asked on 15 Mar 2018, 05:11 PM

Hi,

I'm currently working on a project that has a telerik TimeLine within a TimeBar.  The data is presented in groups.

I'm not sure at which point it happened, maybe when we embedded the TimeLine in the TimeBar (?), but I'm going in circles trying to find out how to reclaim the unused-space between the time markers and the groups.

Attached is a screenshot of the TimeBar.  I added a yellow border to show that the "lost space" is at the top of the TimeLine, above the "Input" group.  I think this is the space where the TimeLine's time-markers used to be -- now we only see the TimeBar time-markers.

Is there a property I can set to push all the data upward, so that it comes flush with the top of the TimeLine's upper-border?

Thank you for any help you can provide,

Seb

PS: Using Dev-Studio's debugger, I got the timeline's "PART_TimelineItemContainer"... and found that setting "EffectiveValueCountainer" to 1 makes the unused space disappear... but I'm sure this is not the way to do it !

2 Answers, 1 is accepted

Sort by
0
Sébastien
Top achievements
Rank 1
answered on 15 Mar 2018, 05:42 PM
(addendum) this is my first post... it looks like my picture didn't get uploaded.  This is the image that illustrates my question above:
0
Stefan
Telerik team
answered on 20 Mar 2018, 01:48 PM
Hi Sebastien,

Thank you for the attached image.

On my end the control is visualized in this manner irrelevant to whether it is placed within a RadTimeBar or not. Can you please take a look at the attached sample? Am I missing something? Also, could you please clarify how are you setting the EffectiveValueContainer, as the control does not expose such property?

Regards,
Stefan
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
TimeLine
Asked by
Sébastien
Top achievements
Rank 1
Answers by
Sébastien
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or