Approved
Last Updated: 30 Apr 2018 11:03 by ADMIN
ADMIN
Dimitar
Created on: 27 Apr 2018 11:21
Category: RibbonBar
Type: Bug Report
1
FIX. RadRibbonBar - incorrect scrollbars in the application menu in Office2010Blue
To reproduce: please refer to the attached sample project and gif file.

Workaround:  this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.DropDownOpened+=ApplicationButtonElement_DropDownOpened;

 private void ApplicationButtonElement_DropDownOpened(object sender, EventArgs e)
        {
            foreach (RadItem item in this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.DropDownMenu.Items)
            {
                RadMenuItem menuItem = item as RadMenuItem;
                if (menuItem!=null)
                {
                    menuItem.MinSize = new Size(item.Size.Width, 24);
                }
                
            }
        }
0 comments