Unplanned
Last Updated: 30 Mar 2016 10:49 by ADMIN
ADMIN
Stefan
Created on: 03 Jun 2013 03:48
Category: RibbonBar
Type: Bug Report
1
FIX. RadRibbonForm - the icon of the form is misplaced when the form is maximized and Windows 7 Basic theme is used
To reproduce:
- Set the Windows theme to Windows 7 Basic
- Start a RadRibbonForm and maximize it

Workaround:

void Form1_Resize(object sender, System.EventArgs e)
{
    if (this.WindowState == FormWindowState.Maximized)
    {
        this.RibbonBar.RibbonBarElement.IconPrimitive.Padding = new Padding(5, 5, 0, 0);
    }
    else
    {
        this.RibbonBar.RibbonBarElement.IconPrimitive.Padding = Padding.Empty;
    }
}
0 comments