UI Tweaks

This commit is contained in:
Serge
2024-04-23 23:21:07 +02:00
parent 8877bb5938
commit a5a34df139

View File

@@ -88,6 +88,7 @@ namespace GHelper
button60Hz = new RButton(); button60Hz = new RButton();
button120Hz = new RButton(); button120Hz = new RButton();
buttonMiniled = new RButton(); buttonMiniled = new RButton();
buttonFHD = new RButton();
panelScreenTitle = new Panel(); panelScreenTitle = new Panel();
labelMidFan = new Label(); labelMidFan = new Label();
pictureScreen = new PictureBox(); pictureScreen = new PictureBox();
@@ -134,7 +135,6 @@ namespace GHelper
labelGamma = new Label(); labelGamma = new Label();
pictureGamma = new PictureBox(); pictureGamma = new PictureBox();
labelGammaTitle = new Label(); labelGammaTitle = new Label();
buttonFHD = new RButton();
panelMatrix.SuspendLayout(); panelMatrix.SuspendLayout();
panelMatrixAuto.SuspendLayout(); panelMatrixAuto.SuspendLayout();
tableLayoutMatrix.SuspendLayout(); tableLayoutMatrix.SuspendLayout();
@@ -1147,15 +1147,36 @@ namespace GHelper
buttonMiniled.FlatAppearance.BorderSize = 0; buttonMiniled.FlatAppearance.BorderSize = 0;
buttonMiniled.FlatStyle = FlatStyle.Flat; buttonMiniled.FlatStyle = FlatStyle.Flat;
buttonMiniled.ForeColor = SystemColors.ControlText; buttonMiniled.ForeColor = SystemColors.ControlText;
buttonMiniled.Location = new Point(592, 4); buttonMiniled.Location = new Point(4, 84);
buttonMiniled.Margin = new Padding(4); buttonMiniled.Margin = new Padding(4);
buttonMiniled.Name = "buttonMiniled"; buttonMiniled.Name = "buttonMiniled";
buttonMiniled.Secondary = false; buttonMiniled.Secondary = false;
buttonMiniled.Size = new Size(191, 72); buttonMiniled.Size = new Size(188, 12);
buttonMiniled.TabIndex = 12; buttonMiniled.TabIndex = 12;
buttonMiniled.Text = Properties.Strings.Multizone; buttonMiniled.Text = Properties.Strings.Multizone;
buttonMiniled.UseVisualStyleBackColor = false; buttonMiniled.UseVisualStyleBackColor = false;
// //
// buttonFHD
//
buttonFHD.Activated = false;
buttonFHD.BackColor = SystemColors.ControlLightLight;
buttonFHD.BorderColor = Color.Transparent;
buttonFHD.BorderRadius = 5;
buttonFHD.CausesValidation = false;
buttonFHD.Dock = DockStyle.Fill;
buttonFHD.FlatAppearance.BorderSize = 0;
buttonFHD.FlatStyle = FlatStyle.Flat;
buttonFHD.ForeColor = SystemColors.ControlText;
buttonFHD.Location = new Point(592, 4);
buttonFHD.Margin = new Padding(4);
buttonFHD.Name = "buttonFHD";
buttonFHD.Secondary = false;
buttonFHD.Size = new Size(191, 72);
buttonFHD.TabIndex = 13;
buttonFHD.Text = "FHD";
buttonFHD.UseVisualStyleBackColor = false;
buttonFHD.Visible = false;
//
// panelScreenTitle // panelScreenTitle
// //
panelScreenTitle.Controls.Add(labelMidFan); panelScreenTitle.Controls.Add(labelMidFan);
@@ -1872,27 +1893,6 @@ namespace GHelper
labelGammaTitle.TabIndex = 37; labelGammaTitle.TabIndex = 37;
labelGammaTitle.Text = "Flicker-free Dimming"; labelGammaTitle.Text = "Flicker-free Dimming";
// //
// buttonFHD
//
buttonFHD.Activated = false;
buttonFHD.BackColor = SystemColors.ControlLightLight;
buttonFHD.BorderColor = Color.Transparent;
buttonFHD.BorderRadius = 5;
buttonFHD.CausesValidation = false;
buttonFHD.Dock = DockStyle.Fill;
buttonFHD.FlatAppearance.BorderSize = 0;
buttonFHD.FlatStyle = FlatStyle.Flat;
buttonFHD.ForeColor = SystemColors.ControlText;
buttonFHD.Location = new Point(4, 84);
buttonFHD.Margin = new Padding(4);
buttonFHD.Name = "buttonFHD";
buttonFHD.Secondary = false;
buttonFHD.Size = new Size(188, 12);
buttonFHD.TabIndex = 13;
buttonFHD.Text = "FHD";
buttonFHD.UseVisualStyleBackColor = false;
buttonFHD.Visible = false;
//
// SettingsForm // SettingsForm
// //
AutoScaleDimensions = new SizeF(192F, 192F); AutoScaleDimensions = new SizeF(192F, 192F);