58b240bcde
This fixes the following problem: When the main window is resized, we set the minimum width of the right side panel (Panel2MinSize) to half the size of the window so that the tab contents are visible. This is fine on most situations, but on a higher screen resolution (e.g. 1920x1080) the following problem occurs: - starting with the main window at minimum size, when the window is maximized, the Panel2MinSize is set to half window's size (e.g. 960) - when the main window is restored back to the minimum size, the split container is not resized because there is a conflict between Panel2MinSize and the size of the window itself (Panel1MinSize + Panel2MinSize > window's width) - therefore the navigation panel is not visible and also the content of the tab control may appear out of scale. To fix this, we set the Panel2MinSize to half of the window's minimum width. This way the right side panel will always fit in the window, including when it is restored to minimum size. This also fixes [CA-137956] - Restoring Maximised XenCenter does not resize the main panel properly. Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com> |
||
---|---|---|
CFUValidator | ||
CommandLib | ||
devtools | ||
dotNetInstaller | ||
mk | ||
splash | ||
VNCControl | ||
WixInstaller | ||
xe | ||
XenAdmin | ||
XenAdminTests | ||
XenCenterLib | ||
XenCenterVNC | ||
XenModel | ||
XenOvfApi | ||
XenOvfTransport | ||
xva_verify | ||
.gitattributes | ||
.gitignore | ||
ChangeLog | ||
CONTRIB | ||
LICENSE | ||
MAINTAINERS | ||
README.md | ||
XenAdmin.sln |
XenCenter
This repository contains the source code for XenCenter.
XenCenter is a Windows-based management tool for XenServer environments which enables users to manage and monitor XenServer hosts and resource pools, and to deploy, monitor, manage and migrate virtual machines.
XenCenter is written mostly in C#.
Contributions
The preferable way to contribute patches is to fork the repository on Github and then submit a pull request. If for some reason you can't use Github to submit a pull request, then you may send your patch for review to the xs-devel@lists.xenserver.org mailing list, with a link to a public git repository for review. Please see the CONTRIB.md file for some general guidelines on submitting changes.
License
This code is licensed under the BSD 2-Clause license. Please see the LICENSE file for more information.
How to build XenCenter
To build XenCenter, you not only need
- the source from xenadmin repository
but also some libraries which we do not store in the source tree:
- CookComputing.XmlRpcV2.dll
- DiscUtils.dll
- ICSharpCode.SharpZipLib.dll
- Ionic.Zip.dll
- log4net.dll You can find the source code of these libraries (along with some patches) in dotnet-packages repository.
You also need NUnit libraries
- nunit.framework.dll
- Moq.dll which can be obtained from http://www.nunit.org/