UI Tweaks to match button and dropdown sizes

This commit is contained in:
Serge
2024-03-13 18:14:45 +01:00
parent 26c845f87e
commit a06f7f6810

View File

@@ -317,6 +317,7 @@ namespace GHelper
buttonMatrix.FlatStyle = FlatStyle.Flat; buttonMatrix.FlatStyle = FlatStyle.Flat;
buttonMatrix.Location = new Point(526, 4); buttonMatrix.Location = new Point(526, 4);
buttonMatrix.Margin = new Padding(2, 4, 4, 8); buttonMatrix.Margin = new Padding(2, 4, 4, 8);
buttonMatrix.MaximumSize = new Size(0, 48);
buttonMatrix.Name = "buttonMatrix"; buttonMatrix.Name = "buttonMatrix";
buttonMatrix.Secondary = true; buttonMatrix.Secondary = true;
buttonMatrix.Size = new Size(255, 42); buttonMatrix.Size = new Size(255, 42);
@@ -1248,6 +1249,7 @@ namespace GHelper
buttonKeyboard.ImageAlign = ContentAlignment.MiddleRight; buttonKeyboard.ImageAlign = ContentAlignment.MiddleRight;
buttonKeyboard.Location = new Point(526, 4); buttonKeyboard.Location = new Point(526, 4);
buttonKeyboard.Margin = new Padding(2, 4, 4, 8); buttonKeyboard.Margin = new Padding(2, 4, 4, 8);
buttonKeyboard.MaximumSize = new Size(0, 48);
buttonKeyboard.Name = "buttonKeyboard"; buttonKeyboard.Name = "buttonKeyboard";
buttonKeyboard.Secondary = true; buttonKeyboard.Secondary = true;
buttonKeyboard.Size = new Size(255, 42); buttonKeyboard.Size = new Size(255, 42);
@@ -1302,6 +1304,7 @@ namespace GHelper
buttonKeyboardColor.ForeColor = SystemColors.ControlText; buttonKeyboardColor.ForeColor = SystemColors.ControlText;
buttonKeyboardColor.Location = new Point(0, 0); buttonKeyboardColor.Location = new Point(0, 0);
buttonKeyboardColor.Margin = new Padding(4, 8, 4, 8); buttonKeyboardColor.Margin = new Padding(4, 8, 4, 8);
buttonKeyboardColor.MaximumSize = new Size(0, 48);
buttonKeyboardColor.Name = "buttonKeyboardColor"; buttonKeyboardColor.Name = "buttonKeyboardColor";
buttonKeyboardColor.Secondary = false; buttonKeyboardColor.Secondary = false;
buttonKeyboardColor.Size = new Size(253, 44); buttonKeyboardColor.Size = new Size(253, 44);