diff --git a/app/Settings.Designer.cs b/app/Settings.Designer.cs index 06567b42..1c9bd1d6 100644 --- a/app/Settings.Designer.cs +++ b/app/Settings.Designer.cs @@ -1705,7 +1705,6 @@ namespace GHelper // // labelVisual // - labelVisual.Dock = DockStyle.Top; labelVisual.ForeColor = SystemColors.GrayText; labelVisual.Location = new Point(20, 170); labelVisual.Margin = new Padding(4, 0, 4, 0); @@ -1875,7 +1874,7 @@ namespace GHelper AutoScaleMode = AutoScaleMode.Dpi; AutoSize = true; AutoSizeMode = AutoSizeMode.GrowAndShrink; - ClientSize = new Size(849, 2001); + ClientSize = new Size(849, 1559); Controls.Add(panelFooter); Controls.Add(panelVersion); Controls.Add(panelBattery); diff --git a/app/Settings.cs b/app/Settings.cs index 39f160d8..97a2a8cb 100644 --- a/app/Settings.cs +++ b/app/Settings.cs @@ -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(); }