protected virtual void LayoutIcon()
protected virtual void LayoutIcon()
protected override void LayoutIcon() {
GoObject icon = this.Icon;
if (icon != null && icon.AutoRescales) {
SizeF minIconSize = this.MinimumIconSize;
float newW = minIconSize.Width;
float newH = minIconSize.Height;
icon.Bounds = new RectangleF(icon.Left - (newW - icon.Width)/2, icon.Top - (newH - icon.Height)/2, newW, newH);
}
}