Fixed Issue 162.

This commit is contained in:
Michael Möller
2011-02-07 22:06:58 +00:00
parent be28c71358
commit 12844967da
2 changed files with 4 additions and 3 deletions

View File

@@ -91,7 +91,7 @@ namespace OpenHardwareMonitor.GUI {
this.Font = SystemFonts.MessageBoxFont;
treeView.Font = SystemFonts.MessageBoxFont;
plotPanel.Font = SystemFonts.MessageBoxFont;
treeView.RowHeight = treeView.Font.Height;
treeView.RowHeight = treeView.Font.Height + 1;
nodeCheckBox.IsVisibleValueNeeded += nodeCheckBox_IsVisibleValueNeeded;
nodeCheckBox.CheckStateChanged += UpdatePlotSelection;

View File

@@ -76,7 +76,7 @@ namespace OpenHardwareMonitor {
if (!File.Exists(path + fileName)) {
MessageBox.Show("The following file could not be found: " + fileName +
"\nPlease extract all files from the zip archive.", "Error",
"\nPlease extract all files from the archive.", "Error",
MessageBoxButtons.OK, MessageBoxIcon.Error);
return false;
}
@@ -86,7 +86,8 @@ namespace OpenHardwareMonitor {
private static bool AllRequiredFilesAvailable() {
if (!IsFileAvailable("Aga.Controls.dll"))
return false;
if (!IsFileAvailable("OpenHardwareMonitorLib.dll"))
return false;
return true;
}