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

Start icon menu items width

3 Answers 118 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Divya
Top achievements
Rank 1
Divya asked on 01 Apr 2011, 07:55 AM
Hi,
            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 .


Thanks
Divya

3 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Todorov
Telerik team
answered on 04 Apr 2011, 04:05 PM
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
0
tphan
Top achievements
Rank 1
answered on 12 Nov 2012, 11:17 AM
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.
0
Ivan Todorov
Telerik team
answered on 15 Nov 2012, 10:05 AM
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.

Greetings,
Ivan Todorov
the Telerik team
Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
Tags
RibbonBar
Asked by
Divya
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
tphan
Top achievements
Rank 1
Share this question
or