Hi,
How to spread the wedges in a radial menu uniformly? I mean all the wedges should be of same size.
I tried setting WedgeSpan and other properties.
Regards,
Prasad
Sorry couldn't check immediately.
Dimitar's suggestion is working perfectly.
Thank you Dimitar & Milko.
Hello Prasad,
I am just checking about the progress of this issue. Let me know if Dimitar's suggestion worked for you or if you need our further assistance.
Thank you for using Infragistics Components.
Hi Prasad,
Thank you for the reply.
It wasn’t working because you were setting the WedgeSpan property for each tool and the tool with child tools had bigger wedge span. This means that the tools will have different size and won’t look the same. To prevent this just don’t set the WedgeSpan property. If you want this for the child menus you can use the DrillDownButtonClick to and the CenterButtonClick (if the Action parameter of the EventArguments is equal to Back) events in order to update the property.
I have attached a modified version of your sample.
Please let me know if you have any additional questions.
I tried setting this. But didn't work as expected.
Attached the sample project.
Thanks
Thank you for posting in our forums.
What you can do in your case is to set the WedgeCount property to the count of the tools in the menu. This way the tools will fill the whole available space and they will have identical size. You can do this the following way:
ultraRadialMenu1.MenuSettings.WedgeCount = ultraRadialMenu1.CenterTool.Tools.Count;