UI tweaks to prevent window resizing on hiding visual modes https://github.com/seerge/g-helper/issues/2301

This commit is contained in:
Serge
2024-03-27 09:22:34 +01:00
parent 46adb6bc7f
commit f3b4fe0e25
2 changed files with 10 additions and 10 deletions

View File

@@ -188,7 +188,7 @@ namespace GHelper
panelMatrix.Controls.Add(tableLayoutMatrix);
panelMatrix.Controls.Add(panelMatrixTitle);
panelMatrix.Dock = DockStyle.Top;
panelMatrix.Location = new Point(11, 1039);
panelMatrix.Location = new Point(11, 1051);
panelMatrix.Margin = new Padding(0);
panelMatrix.Name = "panelMatrix";
panelMatrix.Padding = new Padding(20, 20, 20, 11);
@@ -368,7 +368,7 @@ namespace GHelper
panelBattery.Controls.Add(sliderBattery);
panelBattery.Controls.Add(panelBatteryTitle);
panelBattery.Dock = DockStyle.Top;
panelBattery.Location = new Point(11, 1693);
panelBattery.Location = new Point(11, 1705);
panelBattery.Margin = new Padding(0);
panelBattery.Name = "panelBattery";
panelBattery.Padding = new Padding(20, 20, 20, 11);
@@ -460,7 +460,7 @@ namespace GHelper
panelFooter.AutoSizeMode = AutoSizeMode.GrowAndShrink;
panelFooter.Controls.Add(tableButtons);
panelFooter.Dock = DockStyle.Top;
panelFooter.Location = new Point(11, 1869);
panelFooter.Location = new Point(11, 1881);
panelFooter.Margin = new Padding(0);
panelFooter.Name = "panelFooter";
panelFooter.Padding = new Padding(20);
@@ -1207,7 +1207,7 @@ namespace GHelper
panelKeyboard.Controls.Add(tableLayoutKeyboard);
panelKeyboard.Controls.Add(panelKeyboardTitle);
panelKeyboard.Dock = DockStyle.Top;
panelKeyboard.Location = new Point(11, 1362);
panelKeyboard.Location = new Point(11, 1374);
panelKeyboard.Margin = new Padding(0);
panelKeyboard.Name = "panelKeyboard";
panelKeyboard.Padding = new Padding(20);
@@ -1391,7 +1391,7 @@ namespace GHelper
panelVersion.Controls.Add(labelCharge);
panelVersion.Controls.Add(checkStartup);
panelVersion.Dock = DockStyle.Top;
panelVersion.Location = new Point(11, 1813);
panelVersion.Location = new Point(11, 1825);
panelVersion.Margin = new Padding(4);
panelVersion.Name = "panelVersion";
panelVersion.Size = new Size(827, 56);
@@ -1416,7 +1416,7 @@ namespace GHelper
panelPeripherals.Controls.Add(tableLayoutPeripherals);
panelPeripherals.Controls.Add(panelPeripheralsTile);
panelPeripherals.Dock = DockStyle.Top;
panelPeripherals.Location = new Point(11, 1494);
panelPeripherals.Location = new Point(11, 1506);
panelPeripherals.Margin = new Padding(0);
panelPeripherals.Name = "panelPeripherals";
panelPeripherals.Padding = new Padding(20, 20, 20, 11);
@@ -1558,7 +1558,7 @@ namespace GHelper
panelAlly.Controls.Add(tableLayoutAlly);
panelAlly.Controls.Add(panelAllyTitle);
panelAlly.Dock = DockStyle.Top;
panelAlly.Location = new Point(11, 1222);
panelAlly.Location = new Point(11, 1234);
panelAlly.Margin = new Padding(0);
panelAlly.Name = "panelAlly";
panelAlly.Padding = new Padding(20, 20, 20, 0);
@@ -1699,7 +1699,7 @@ namespace GHelper
panelGamma.Margin = new Padding(0);
panelGamma.Name = "panelGamma";
panelGamma.Padding = new Padding(20, 11, 20, 11);
panelGamma.Size = new Size(827, 221);
panelGamma.Size = new Size(827, 233);
panelGamma.TabIndex = 9;
panelGamma.Visible = false;
//
@@ -1711,7 +1711,7 @@ namespace GHelper
labelVisual.Margin = new Padding(4, 0, 4, 0);
labelVisual.Name = "labelVisual";
labelVisual.Padding = new Padding(4);
labelVisual.Size = new Size(787, 40);
labelVisual.Size = new Size(787, 52);
labelVisual.TabIndex = 42;
labelVisual.Text = "Visual Modes are not available when HDR is active";
labelVisual.Visible = false;