UI Tweaks

This commit is contained in:
Serge
2024-02-26 14:40:13 +01:00
parent 76f29c5934
commit b3e4578c02
3 changed files with 3 additions and 1 deletions

View File

@@ -398,7 +398,7 @@ namespace GHelper
InitServices(); InitServices();
InitHibernate(); InitHibernate();
InitACPITesting(); //InitACPITesting();
} }

View File

@@ -199,6 +199,7 @@ namespace GHelper
checkMatrixLid.TabIndex = 46; checkMatrixLid.TabIndex = 46;
checkMatrixLid.Text = "Disable on lid close"; checkMatrixLid.Text = "Disable on lid close";
checkMatrixLid.UseVisualStyleBackColor = true; checkMatrixLid.UseVisualStyleBackColor = true;
checkMatrixLid.Visible = false;
// //
// tableLayoutMatrix // tableLayoutMatrix
// //

View File

@@ -939,6 +939,7 @@ namespace GHelper
for (int i = 1; i <= 5; i++) comboInterval.Items.Add($"Interval {i}s"); for (int i = 1; i <= 5; i++) comboInterval.Items.Add($"Interval {i}s");
buttonMatrix.Visible = false; buttonMatrix.Visible = false;
checkMatrixLid.Visible = true;
} }
comboMatrix.SelectedIndex = Math.Min(AppConfig.Get("matrix_brightness", 0), comboMatrix.Items.Count - 1); comboMatrix.SelectedIndex = Math.Min(AppConfig.Get("matrix_brightness", 0), comboMatrix.Items.Count - 1);