Incorrect annotations position

3 posts, 0 answers
  1. Ola
    Ola avatar
    15 posts
    Member since:
    Jun 2014

    Posted 29 Oct 2014 Link to this post

    Hi,

    I am trying to display current time with an annotation, but it gets missplaced when the vertical scrollbar is shown (see screenshots).

    I think the reason for the issue is that the VirtualizingTimelinePanel for annotation occupies the whole radtimeline width while the VirtualizingTimelinePanel for items is shrink by the ScrollViewer.

    I am using the Windows8 theme.

    Is this a known issue? Is there a workaround for it?

    Best,

    Ola
  2. Tsvetie
    Admin
    Tsvetie avatar
    1517 posts

    Posted 31 Oct 2014 Link to this post

    Hi Ola,

    No, this is not a known bug. I logged it in our feedback portal - you can vote for the item and track its progress here. I have updated your Telerik points for bringing the problem to our attention.

    For the time being, the only workaround that I can suggest is to create a custom template for the RadTimeline and in that template, find the TimelineAnnotationsPanel and set its Grid.ColumnSpan to 1.  For example:
    <telerik:TimelineAnnotationsPanel x:Name="PART_TimelineAnnotationsPanel"
        Grid.Row="0"
        Grid.Column="0"
        Grid.ColumnSpan="1"
        Slider="{Binding ElementName=PART_Slider}">

    You can find information on modifying ControlTemplates in our online documentation.

    Please note that this workaround has one drawback - the strings of the interval groups will be clipped. I have attached a screenshot to demonstrate this (note how the December string is clipped in the upper right corner).

    Regards,
    Tsvetie
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Ola
    Ola avatar
    15 posts
    Member since:
    Jun 2014

    Posted 13 Nov 2014 in reply to Tsvetie Link to this post

    Thank you for the workaround. It works fine. I think I can live with the clipped interval groups (for now).
Back to Top