How can I use a Guage in a DockPanel? I added a guage to a DockPanel and the alignment does not work.
1 Answer, 1 is accepted
0
Victor
Telerik team
answered on 21 Mar 2011, 08:28 AM
Hello Fredrick Bartlett,
Thank you for writing.
I have an idea why it might not work and it is probably because the dock panel measures its children with infinity for width or height. If the gauge gets a size that contains infinity during the measure pass, it will return 0 as its desired size. In essence it behaves like a Rectangle object or another UI element that does not have an implicit desired size.
Please try setting the size of the gauge (or its parent element) to some fixed size.
If this is not the case, please describe your issue in detail so that I may provide a solution.
I am looking for your reply.
Greetings,
Victor
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>