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

Pane pin animation issue

3 Answers 59 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 17 Jun 2013, 05:05 PM
When pinning/unpinning a pane in the docking tools, the fly in and out looks terrible.  It animates a bit then jumps.  Not nice.

Is there a way to get this to look smooth?  I know how to disable the animation entirely, but that defeats the purpose.

If this is 'how it is' please let me know as I would like to submit this as a bug.

Thank you!

3 Answers, 1 is accepted

Sort by
0
Masha
Telerik team
answered on 20 Jun 2013, 08:04 AM
Hello Bryan,

To change the animation, I would suggest modifying the RadDocking theme and changing the animations there. The AnimationSelector takes care of the auto-hide animations. LeftIn, Leftout, TopIn, TopOut, RightIn, RightOut, BottomIn, BottomOut are the animations responsible for the AutoHideAreas.

You can always switch off the animations you just need to set the AnimationManager.AnimationSelector attached property of the Docking control to Null.

I hope this will help with any customizations you wish to make.


Regards,
Masha
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Michael
Top achievements
Rank 1
answered on 20 Jun 2013, 03:29 PM
Hi Masha,

If the solution is for me to customize this myself or turn it off then this is a bug.  These animations are clearly broken.

Cheers
0
Yana
Telerik team
answered on 25 Jun 2013, 10:07 AM
Hi Bryan,

Actually the animation is intentionally designed like this  - we wanted the duration and the speed of the animation while pinning/unpinning to be the same for all the panes. However,  the width of the panes is different and this is causing the described effect.  We think this is the better option than having inconsistent animations, also as Masha explained in the previous post, you can modify the animations to match your specific requirements.

I hope this clears things up. If you have any additional questions/issues, let us know.

Regards,
Yana
Telerik

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Docking
Asked by
Michael
Top achievements
Rank 1
Answers by
Masha
Telerik team
Michael
Top achievements
Rank 1
Yana
Telerik team
Share this question
or