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

Vertical Orientation - Full Width

1 Answer 42 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Justin Lee
Top achievements
Rank 1
Justin Lee asked on 23 Dec 2014, 02:23 PM
Hi,

I have a menu with vertical orientation.  The menu has a width that is wider than the longest menu item.  However, the menu items' width gets set to the longest menu item.  Is there a way I can stretch the menu items to the full width of the menu control?

I have created a custom style/template for MenuItem, however after setting HorizontalAlignment="Stretch" on all controls, the menu items width is still auto-set to the longest item.

Thanks,
Justin

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 25 Dec 2014, 11:29 AM
Hi Justin,

Do you reproduce the same problem on any of our WPF Demos? If not, may I ask you to try isolating the issue in a demo project illustrating your exact setup? You can also take a look at this blog post for a reference on how to isolate an issue. You can open a new support ticket and send us the demo solution, that way we can check it locally and advise further.

Regards,
Dimitrina
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.

 
Tags
Menu
Asked by
Justin Lee
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or