UI fixes, tooltips for fan control

This commit is contained in:
seerge
2023-03-18 17:57:09 +01:00
parent 5767320437
commit c50c1807ca
4 changed files with 54 additions and 16 deletions

View File

@@ -987,20 +987,27 @@ namespace GHelper
}
private void NoUltimateUI()
private void UltimateUI(bool ultimate)
{
tableGPU.Controls.Remove(buttonUltimate);
if (!ultimate)
{
tableGPU.Controls.Remove(buttonUltimate);
buttonFans.Image = null;
buttonFans.Height = 50;
/*
* buttonFans.Image = null;
buttonFans.Height = 44;
*/
tablePerf.ColumnCount = 0;
tableGPU.ColumnCount = 0;
}
tablePerf.ColumnCount = 3;
tablePerf.ColumnCount = 3;
tableGPU.ColumnCount = 0;
tableLayoutKeyboard.ColumnCount = 0;
tableScreen.ColumnCount = 0;
tableLayoutMatrix.ColumnCount = 0;
}
public int InitGPUMode()
@@ -1020,7 +1027,7 @@ namespace GHelper
else
GpuMode = ASUSWmi.GPUModeStandard;
if (mux != 1) NoUltimateUI();
UltimateUI(mux == 1);
}