Tweaked some things
This commit is contained in:
@@ -114,22 +114,24 @@ namespace Test_Merge
|
||||
|
||||
btnFirstDriver.Anchor = AnchorStyles.Left | AnchorStyles.Top;
|
||||
btnSecondDriver.Anchor = AnchorStyles.Right | AnchorStyles.Top;
|
||||
lblGap.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
|
||||
|
||||
lblGap.Anchor = AnchorStyles.Left | AnchorStyles.Right;
|
||||
lblGap.Dock = DockStyle.None;
|
||||
lblGap.TextAlign = ContentAlignment.MiddleCenter;
|
||||
lblGap.Font = new Font(lblGap.Font.FontFamily, 15);
|
||||
|
||||
btnFirstDriver.Click += form1.btnDriver_Click;
|
||||
btnSecondDriver.Click += form1.btnDriver_Click;
|
||||
|
||||
btnFirstDriver.FlatStyle = FlatStyle.Popup;
|
||||
btnSecondDriver.FlatStyle = FlatStyle.Popup;
|
||||
lblGap.FlatStyle = FlatStyle.Popup;
|
||||
|
||||
btnFirstDriver.Size = new Size(pnlBattles.Width / 3, maxUiHeight);
|
||||
btnSecondDriver.Size = new Size(pnlBattles.Width / 3, maxUiHeight);
|
||||
lblGap.Size = new Size(pnlBattles.Width / 3, maxUiHeight);
|
||||
|
||||
btnFirstDriver.Location = new Point(0, id * maxUiHeight);
|
||||
lblGap.Location = new Point(btnFirstDriver.Width, id * maxUiHeight);
|
||||
btnFirstDriver.Location = new Point(pnlBattles.Width / 3 * 0, id * maxUiHeight);
|
||||
lblGap.Location = new Point(pnlBattles.Width / 3 * 1, id * maxUiHeight);
|
||||
btnSecondDriver.Location = new Point(pnlBattles.Width / 3 * 2, id * maxUiHeight);
|
||||
|
||||
btnFirstDriver.Text = battle.d1.Name;
|
||||
|
||||
Reference in New Issue
Block a user