Start icon menu items width

4 posts, 1 answers
  1. Divya
    Divya avatar
    47 posts
    Member since:
    Mar 2011

    Posted 01 Apr 2011 Link to this post

                I have made used of RibbonBar on the click of the start icon of the ribbion bar i get the menu items this is fine.But for those each menu item i have the sub menu items the width  and height is not proper (refer screen1).can anyone say me how can i do it i want as it is like in the screen2 .

  2. Answer
    Ivan Todorov
    Ivan Todorov avatar
    688 posts

    Posted 04 Apr 2011 Link to this post

    Hi Divya,

    You can manipulate the size of the menu items by setting their MaxSize property. In addition to that, the image that you set to a RadMenuItem is not scaled to fit its size so if you set a larger image the menu item will become larger too. You should set smaller images to your items in order to get the desired behavior.

    I hope this helps. If you have any further questions, feel free to ask.

    Kind regards,
    Ivan Todorov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. tphan
    tphan avatar
    22 posts
    Member since:
    Jun 2012

    Posted 12 Nov 2012 Link to this post

    I have the same issue; look at my attachments. The submenus' widths are small in execution time. It is fine in the design time. Is this a bug? What's the workaround? Thanks.

    Submenus mean Search, "Source Checklist", Source etc.
  4. Ivan Todorov
    Ivan Todorov avatar
    688 posts

    Posted 15 Nov 2012 Link to this post

    Hi Charles,

    There is a property that sets the width of the second column items and most probably you have set it to 0 to hide the second column. Here is how you can hide the second column without disturbing the width of the submenu popups:
    this.radRibbonBar1.RibbonBarElement.ApplicationMenuRightColumnWidth = 150;
    this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.ShowTwoColumnDropDownMenu = false;

    Hope this helps. Feel free to ask if you have any additional questions.

    Ivan Todorov
    the Telerik team
    Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
Back to Top