Approved
Last Updated: 03 Oct 2019 07:48 by ADMIN
Kevin
Created on: 03 Oct 2019 07:48
Category: RibbonBar
Type: Bug Report
0
RadRibbonBar: groups collapsing behavior is not consistent after each collapse/expand of the ribbon

Please refer to the attached sample project and follow the steps from the gif file. 

You will notice that each time a random group displays only images (no text) when the groups don't fit in the ribbon's width.

Workaround:

        public MDIForm()
        {
            InitializeComponent();
            this.radRibbonBar1.RibbonBarElement.ItemVisiblityStateChanging += this.RibbonBarElement_ItemVisiblityStateChanging;
        }

        private void RibbonBarElement_ItemVisiblityStateChanging(object sender, ItemVisiblityStateChangingEventArgs args)
        {
            if (args.NextVisibilityState == ChunkVisibilityState.NoText)
            {
                args.Cancel = true;
            }
        }

0 comments