Modified the enumeration to resize the font, depending on the size. Also made sure the suspend/resume layout is called when transforming containers.

This commit is contained in:
RKrom 2014-06-02 14:51:28 +02:00
parent 85d73cd8e0
commit e75925018b
4 changed files with 40 additions and 31 deletions

View file

@ -739,6 +739,7 @@ namespace Greenshot.Drawing {
if (matrix == null) {
return;
}
SuspendLayout();
Point topLeft = new Point(Left, Top);
Point bottomRight = new Point(Left + Width, Top + Height);
Point[] points;
@ -757,6 +758,7 @@ namespace Greenshot.Drawing {
if (TargetGripper != null) {
TargetGripper.Location = points[points.Length-1];
}
ResumeLayout();
}
protected virtual ScaleHelper.IDoubleProcessor GetAngleRoundProcessor() {