Fix Windows Agent resize behavior

This fixes the Windows Agent behavior when resizing

refs #4959
This commit is contained in:
Michael Insel 2018-07-20 21:46:23 +02:00
parent 14d88d90a0
commit 91ead3a3b7
2 changed files with 7 additions and 1 deletions

View File

@ -746,7 +746,7 @@
this.tabError.PerformLayout(); this.tabError.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.picBanner)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picBanner)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);
this.Load += new System.EventHandler(this.SetupWizard_Load);
} }
#endregion #endregion

View File

@ -576,6 +576,12 @@ namespace Icinga
{ {
} }
private void SetupWizard_Load(object sender, EventArgs e)
{
this.MinimumSize = this.Size;
this.MaximumSize = this.Size;
}
} }
} }