mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
Merge pull request #94 from GaborApatiNagy/xs64bit-CA-137250
Xs64bit CA-137250: Minimising XC window loses its left bottom window
This commit is contained in:
commit
5bdbb1c3e0
@ -115,7 +115,12 @@ namespace XenAdmin.Controls.MainWindowControls
|
||||
protected override void OnResize(EventArgs e)
|
||||
{
|
||||
base.OnResize(e);
|
||||
|
||||
splitContainer1.Panel1MinSize = splitContainer1.ClientSize.Height - toolStripBig.MaximumSize.Height - splitContainer1.SplitterWidth;
|
||||
|
||||
int maxSplitterDistance = splitContainer1.ClientSize.Height - toolStripSmall.MaximumSize.Height - splitContainer1.SplitterWidth;
|
||||
if (splitContainer1.SplitterDistance > maxSplitterDistance)
|
||||
splitContainer1.SplitterDistance = maxSplitterDistance;
|
||||
}
|
||||
|
||||
#region Accessors
|
||||
|
Loading…
Reference in New Issue
Block a user