submenu width

3 posts, 0 answers
  1. Jean-Marc Windholz
    Jean-Marc Windholz avatar
    42 posts
    Member since:
    Sep 2009

    Posted 27 Dec 2010 Link to this post

    Hi,
    I have a problem with submenus width in a radapplicationmenu inside a radribbonbar.
    My submenus are larger then the main menu.

    How ca I set my submenus as large as my main menu ?

    As attachement a screenshot of my problem

    Main Menu
    Sub Menu
  2. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 29 Dec 2010 Link to this post

    Hi Jean-Marc,

    Thank you for your question.

    You should set the maximum size of the popup that contains the submenu and this should be done for all items that have a submenu:

    radMenuItem1.DropDown.PopupElement.MaxSize = new Size(300, 0);

    Hope this will help you. Feel free to write back if you have any further questions.

    Kind regards,
    Ivan Todorov
    the Telerik team
    Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Jean-Marc Windholz
    Jean-Marc Windholz avatar
    42 posts
    Member since:
    Sep 2009

    Posted 30 Dec 2010 Link to this post

    Hi,
    thank you for the solution, it works fine!!
Back to Top