Declined
Last Updated: 09 Apr 2015 10:48 by ADMIN
ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 13 Jan 2015 12:12
Category:
Type: Bug Report
0
FIX. RadCollapsiblePanel - аfter restarting the application and reopening the designer several times, the inner controls shrink
DECLINED: caused by the fact the form has been edited under different DPI settings.
Workaround: specify the MinimumSize property at run time.
1 comment
ADMIN
Ivan Todorov
Posted on: 09 Apr 2015 10:47
The issue is present because the form at hand was edited in the Visual Studio designer on a system with higher DPI settings. This caused the following line of code to be serialized in the Designer.cs file:
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 20F);
Deleting this line or setting the values to the standard ones (6F, 13F) resolves the issue.
More information about DPI and WinForms can be found in the following blog post: http://blogs.telerik.com/winformsteam/posts/14-02-11/winforms-scaling-at-large-dpi-settings-is-it-even-possible-