Approved
Last Updated: 20 Nov 2017 14:42 by ADMIN
ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 20 Sep 2017 07:38
Category: RibbonBar
Type: Bug Report
2
FIX. RadRibbonBar - ribbon groups are cut off on a surface device with increased DPI
Use the arrow on the right side of RadRibbonBar to collapse it. When click some of the tabs to show the popup.

Workaround: specify a minimum height for the popup:
        protected override void OnLoad(EventArgs e)
  {
            base.OnLoad(e);
            radRibbonBar1.Expanded = false;

            RibbonBarPopup pop = this.radRibbonBar1.RibbonBarElement.Popup;
            pop.PopupOpened += pop_PopupOpened;
        }

        private void pop_PopupOpened(object sender, EventArgs args)
        {
            RibbonBarPopup pop = sender as RibbonBarPopup;
            pop.MinimumSize = new Size(0, 150);
        }
Attached Files:
0 comments