Unplanned
Last Updated: 14 Nov 2017 09:02 by ADMIN
ADMIN
Petar Mladenov
Created on: 14 Nov 2017 08:58
Category: RibbonView
Type: Bug Report
0
RibbonWindow: Gap between TitleBar and Content in Windows10 with higher DPI settings.
Windows10 on two monitors, at least one of them is with higher DPI -125 , 150 %.

This leads to unexpected black gap (glitch) between the RibbonWindow TitleBar and Content.

Partial workaround is to set manually a margin on the WindowDecorator:

  private void RadRibbonWindow_Loaded(object sender, RoutedEventArgs e)
        {
                Grid windowDecorator = this.ChildrenOfType<Grid>().FirstOrDefault(x => x.Name == "MaximizedWindowDecorator");
                windowDecorator.Margin = new Thickness(0, -1, 0, 0);          
        }
0 comments