UI Tweaks

This commit is contained in:
Serge
2023-07-19 23:43:26 +02:00
parent e7a4537098
commit a97ab6dbc8
4 changed files with 10 additions and 5 deletions

View File

@@ -134,6 +134,7 @@ namespace GHelper.Display
string? laptopScreen = null;
var screens = Screen.AllScreens;
/*
if (!isUltimate)
{
foreach (var screen in screens )
@@ -142,6 +143,7 @@ namespace GHelper.Display
if (screen.DeviceName == defaultDevice) return defaultDevice;
}
}
*/
try
{

View File

@@ -668,7 +668,11 @@ namespace GHelper
}
else
{
labelLeftA0.Text = "CPU Slow (SPL + sPPT)";
if (RyzenControl.IsAMD())
labelLeftA0.Text = "CPU Slow (SPL + sPPT)";
else
labelLeftA0.Text = "CPU (PL1 + PL2)";
labelLeftC1.Text = "CPU Fast (fPPT)";
panelC1.Visible = modeC1;
}
@@ -765,7 +769,7 @@ namespace GHelper
try
{
if (chartCount > 2)
Size = MinimumSize = new Size(0, (int)(ControlHelper.GetDpiScale(this).Value * (chartCount * 200 + 100)));
Size = MinimumSize = new Size(Size.Width, (int)(ControlHelper.GetDpiScale(this).Value * (chartCount * 200 + 100)));
}
catch (Exception ex)
{

View File

@@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net7.0-windows8.0</TargetFramework>
<TargetFramework>net7.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWindowsForms>True</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
@@ -11,7 +11,6 @@
<StartupObject>GHelper.Program</StartupObject>
<ApplicationIcon>favicon.ico</ApplicationIcon>
<Platforms>AnyCPU;x64</Platforms>
<SupportedOSPlatformVersion>8.0</SupportedOSPlatformVersion>
<AssemblyName>GHelper</AssemblyName>
<PlatformTarget>AnyCPU</PlatformTarget>
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>

View File

@@ -1,5 +1,5 @@
{
"sdk": {
"version": "7.0.203"
"version": "7.0.306"
}
}