This commit is contained in:
Serge
2024-03-27 11:05:27 +01:00
parent 084a200020
commit 0ef78c7174
2 changed files with 8 additions and 14 deletions

View File

@@ -1205,25 +1205,20 @@ namespace GHelper
buttonMiniled.Visible = false;
}
SuspendLayout();
if (hdr) labelVisual.Text = Properties.Strings.VisualModesHDR;
if (!screenEnabled) labelVisual.Text = Properties.Strings.VisualModesScreen;
if (!screenEnabled)
if (!screenEnabled || hdr)
{
labelVisual.Text = Properties.Strings.VisualModesScreen;
labelVisual.Location = tableVisual.Location;
labelVisual.Width = tableVisual.Width;
labelVisual.Height = tableVisual.Height;
labelVisual.Visible = true;
tableVisual.Visible = false;
} else if (hdr)
} else
{
labelVisual.Text = Properties.Strings.VisualModesHDR;
labelVisual.Visible = true;
tableVisual.Visible = false;
} else
{
tableVisual.Visible = true;
labelVisual.Visible = false;
}
ResumeLayout();
}