PDA

View Full Version : User Control Animation



sujit.s
March 19th, 2009, 03:10 AM
I have two user control instantiated in another main user control . The inner user controls need to expand/collapse , while animating this the entire user control shrinks ( fonts distorted , paths distorted) .

Is there a workaround wherein i can just expand/collapse these user controls smoothly without distortion ?

Regards,
Sujit

kirupa
March 20th, 2009, 08:57 PM
Give your main parent user control a fixed size. It is currently changing its size based on the size of its children - which in this case is the shrinking/growing children user controls.

:)

sujit.s
March 21st, 2009, 05:48 AM
Give your main parent user control a fixed size. It is currently changing its size based on the size of its children - which in this case is the shrinking/growing children user controls.

:)

Will try this out :)