From 8f215dafabe370296d658b1fd4dfae2911c13ac8 Mon Sep 17 00:00:00 2001 From: seerge Date: Fri, 3 Mar 2023 01:00:47 +0100 Subject: [PATCH] Minor fixes --- Fans.Designer.cs | 2 +- Fans.cs | 10 +++++----- GHelper.csproj | 3 +-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Fans.Designer.cs b/Fans.Designer.cs index 417f1c38..774cba66 100644 --- a/Fans.Designer.cs +++ b/Fans.Designer.cs @@ -126,7 +126,7 @@ pictureFine.Anchor = AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; pictureFine.BackgroundImage = Properties.Resources.everything_is_fine_itsfine; pictureFine.BackgroundImageLayout = ImageLayout.Zoom; - pictureFine.Location = new Point(9, 730); + pictureFine.Location = new Point(9, 731); pictureFine.Name = "pictureFine"; pictureFine.Size = new Size(311, 240); pictureFine.TabIndex = 12; diff --git a/Fans.cs b/Fans.cs index d8757296..34a603dd 100644 --- a/Fans.cs +++ b/Fans.cs @@ -43,7 +43,7 @@ namespace GHelper chart.ChartAreas[0].AxisX.Minimum = 10; chart.ChartAreas[0].AxisX.Maximum = 100; chart.ChartAreas[0].AxisX.Interval = 10; - + chart.ChartAreas[0].AxisY.Minimum = 0; chart.ChartAreas[0].AxisY.Maximum = 100; @@ -51,8 +51,8 @@ namespace GHelper chart.ChartAreas[0].AxisY.CustomLabels.Add(-2, 2, "OFF"); - for (int i = 1; i<= 9;i++) - chart.ChartAreas[0].AxisY.CustomLabels.Add(i*10-2, i*10+2, (1800+400*i).ToString()); + for (int i = 1; i <= 9; i++) + chart.ChartAreas[0].AxisY.CustomLabels.Add(i * 10 - 2, i * 10 + 2, (1800 + 400 * i).ToString()); chart.ChartAreas[0].AxisY.CustomLabels.Add(98, 102, "RPM"); @@ -104,8 +104,8 @@ namespace GHelper checkAuto.Click += CheckAuto_Click; - labelInfo.MaximumSize = new Size(300, 0); - labelInfo.Text = "Power Limits (PPT) is experimental feature.\n\nValues will be applied only after you click 'Apply' and reset after performance mode change.\n\nUse carefully and on your own risk!"; + //labelInfo.MaximumSize = new Size(280, 0); + labelInfo.Text = "Power Limits (PPT) is\nexperimental feature.\n\nValues will be applied\nonly after you click 'Apply'\nand reset after performance\nmode changes.\n\nUse carefully and\non your own risk!"; LoadFans(); VisualisePower(true); diff --git a/GHelper.csproj b/GHelper.csproj index 0f3ed78a..8a8abc1a 100644 --- a/GHelper.csproj +++ b/GHelper.csproj @@ -15,7 +15,7 @@ GHelper x64 False - 0.12.0 + 0.14.0 @@ -39,7 +39,6 @@ -