Approved
Last Updated: 29 Mar 2016 12:49 by ADMIN
ADMIN
Stefan
Created on: 18 Oct 2012 06:07
Category: Form
Type: Bug Report
2
FIX. RadForm - increases its size when the theme is changed
To reproduce:
- Add four buttons to a RadForm
- On each button click use ThemeResolutionService to change the theme
=> the form size increases in height

Workaround:
Set the MaximumSize of the form to the current form size prior changing the theme and then remove this setting:
private void radButton1_Click(object sender, EventArgs e)
{
    this.MaximumSize = this.Size; ;
    ThemeResolutionService.ApplicationThemeName = "Office2010Blue";
    this.MaximumSize = Size.Empty;
}
0 comments