mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Improved UI for hiding visual modes https://github.com/seerge/g-helper/issues/2301
This commit is contained in:
3
app/Settings.Designer.cs
generated
3
app/Settings.Designer.cs
generated
@@ -1705,7 +1705,6 @@ namespace GHelper
|
|||||||
//
|
//
|
||||||
// labelVisual
|
// labelVisual
|
||||||
//
|
//
|
||||||
labelVisual.Dock = DockStyle.Top;
|
|
||||||
labelVisual.ForeColor = SystemColors.GrayText;
|
labelVisual.ForeColor = SystemColors.GrayText;
|
||||||
labelVisual.Location = new Point(20, 170);
|
labelVisual.Location = new Point(20, 170);
|
||||||
labelVisual.Margin = new Padding(4, 0, 4, 0);
|
labelVisual.Margin = new Padding(4, 0, 4, 0);
|
||||||
@@ -1875,7 +1874,7 @@ namespace GHelper
|
|||||||
AutoScaleMode = AutoScaleMode.Dpi;
|
AutoScaleMode = AutoScaleMode.Dpi;
|
||||||
AutoSize = true;
|
AutoSize = true;
|
||||||
AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||||
ClientSize = new Size(849, 2001);
|
ClientSize = new Size(849, 1559);
|
||||||
Controls.Add(panelFooter);
|
Controls.Add(panelFooter);
|
||||||
Controls.Add(panelVersion);
|
Controls.Add(panelVersion);
|
||||||
Controls.Add(panelBattery);
|
Controls.Add(panelBattery);
|
||||||
|
|||||||
@@ -1205,25 +1205,20 @@ namespace GHelper
|
|||||||
buttonMiniled.Visible = false;
|
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;
|
labelVisual.Visible = true;
|
||||||
tableVisual.Visible = false;
|
} else
|
||||||
} else if (hdr)
|
|
||||||
{
|
{
|
||||||
labelVisual.Text = Properties.Strings.VisualModesHDR;
|
|
||||||
labelVisual.Visible = true;
|
|
||||||
tableVisual.Visible = false;
|
|
||||||
} else
|
|
||||||
{
|
|
||||||
tableVisual.Visible = true;
|
|
||||||
labelVisual.Visible = false;
|
labelVisual.Visible = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
ResumeLayout();
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user