From f14d2c4ccc15aa3fa9bb301450dc76be914ebd6c Mon Sep 17 00:00:00 2001 From: Marc Parsons Date: Wed, 8 Apr 2026 23:35:33 +0100 Subject: [PATCH] Minor adjustment to Debugger layout --- Desktop/DebuggerForm.Designer.cs | 87 +++++++++++++++++++------------- 1 file changed, 51 insertions(+), 36 deletions(-) diff --git a/Desktop/DebuggerForm.Designer.cs b/Desktop/DebuggerForm.Designer.cs index 97598d1..e83dece 100644 --- a/Desktop/DebuggerForm.Designer.cs +++ b/Desktop/DebuggerForm.Designer.cs @@ -49,80 +49,89 @@ // lblAF // lblAF.AutoSize = true; - lblAF.Location = new Point(12, 9); + lblAF.Location = new Point(10, 7); + lblAF.Margin = new Padding(2, 0, 2, 0); lblAF.Name = "lblAF"; - lblAF.Size = new Size(33, 25); + lblAF.Size = new Size(26, 20); lblAF.TabIndex = 0; lblAF.Text = "AF"; // // lblBC // lblBC.AutoSize = true; - lblBC.Location = new Point(11, 60); + lblBC.Location = new Point(9, 48); + lblBC.Margin = new Padding(2, 0, 2, 0); lblBC.Name = "lblBC"; - lblBC.Size = new Size(33, 25); + lblBC.Size = new Size(27, 20); lblBC.TabIndex = 1; lblBC.Text = "BC"; // // lblDE // lblDE.AutoSize = true; - lblDE.Location = new Point(12, 125); + lblDE.Location = new Point(10, 100); + lblDE.Margin = new Padding(2, 0, 2, 0); lblDE.Name = "lblDE"; - lblDE.Size = new Size(34, 25); + lblDE.Size = new Size(28, 20); lblDE.TabIndex = 2; lblDE.Text = "DE"; // // lblHL // lblHL.AutoSize = true; - lblHL.Location = new Point(13, 187); + lblHL.Location = new Point(10, 150); + lblHL.Margin = new Padding(2, 0, 2, 0); lblHL.Name = "lblHL"; - lblHL.Size = new Size(33, 25); + lblHL.Size = new Size(27, 20); lblHL.TabIndex = 3; lblHL.Text = "HL"; // // lblPC // lblPC.AutoSize = true; - lblPC.Location = new Point(11, 250); + lblPC.Location = new Point(9, 200); + lblPC.Margin = new Padding(2, 0, 2, 0); lblPC.Name = "lblPC"; - lblPC.Size = new Size(33, 25); + lblPC.Size = new Size(26, 20); lblPC.TabIndex = 4; lblPC.Text = "PC"; // // lblSP // lblSP.AutoSize = true; - lblSP.Location = new Point(11, 315); + lblSP.Location = new Point(9, 252); + lblSP.Margin = new Padding(2, 0, 2, 0); lblSP.Name = "lblSP"; - lblSP.Size = new Size(32, 25); + lblSP.Size = new Size(25, 20); lblSP.TabIndex = 6; lblSP.Text = "SP"; // // lblFlags // lblFlags.AutoSize = true; - lblFlags.Location = new Point(110, 65); + lblFlags.Location = new Point(88, 52); + lblFlags.Margin = new Padding(2, 0, 2, 0); lblFlags.Name = "lblFlags"; - lblFlags.Size = new Size(53, 25); + lblFlags.Size = new Size(43, 20); lblFlags.TabIndex = 7; lblFlags.Text = "Flags"; // // lblTStates // lblTStates.AutoSize = true; - lblTStates.Location = new Point(110, 9); + lblTStates.Location = new Point(88, 7); + lblTStates.Margin = new Padding(2, 0, 2, 0); lblTStates.Name = "lblTStates"; - lblTStates.Size = new Size(75, 25); + lblTStates.Size = new Size(63, 20); lblTStates.TabIndex = 8; lblTStates.Text = "T-States"; // // txtMemoryStart // - txtMemoryStart.Location = new Point(298, 12); + txtMemoryStart.Location = new Point(238, 10); + txtMemoryStart.Margin = new Padding(2, 2, 2, 2); txtMemoryStart.Name = "txtMemoryStart"; - txtMemoryStart.Size = new Size(150, 31); + txtMemoryStart.Size = new Size(121, 27); txtMemoryStart.TabIndex = 9; txtMemoryStart.Text = "Memory Start"; txtMemoryStart.TextAlign = HorizontalAlignment.Center; @@ -130,9 +139,10 @@ // // btnStep // - btnStep.Location = new Point(11, 394); + btnStep.Location = new Point(9, 315); + btnStep.Margin = new Padding(2, 2, 2, 2); btnStep.Name = "btnStep"; - btnStep.Size = new Size(112, 34); + btnStep.Size = new Size(90, 27); btnStep.TabIndex = 12; btnStep.Text = "Step"; btnStep.UseVisualStyleBackColor = true; @@ -140,18 +150,20 @@ // // btnRun // - btnRun.Location = new Point(152, 394); + btnRun.Location = new Point(122, 315); + btnRun.Margin = new Padding(2, 2, 2, 2); btnRun.Name = "btnRun"; - btnRun.Size = new Size(112, 34); + btnRun.Size = new Size(90, 27); btnRun.TabIndex = 13; btnRun.Text = "Run"; btnRun.UseVisualStyleBackColor = true; // // btnRefreshMemory // - btnRefreshMemory.Location = new Point(470, 9); + btnRefreshMemory.Location = new Point(376, 7); + btnRefreshMemory.Margin = new Padding(2, 2, 2, 2); btnRefreshMemory.Name = "btnRefreshMemory"; - btnRefreshMemory.Size = new Size(112, 34); + btnRefreshMemory.Size = new Size(90, 27); btnRefreshMemory.TabIndex = 14; btnRefreshMemory.Text = "Refresh Memory"; btnRefreshMemory.UseVisualStyleBackColor = true; @@ -159,35 +171,37 @@ // // txtMemoryView // - txtMemoryView.Location = new Point(110, 100); + txtMemoryView.Location = new Point(88, 80); + txtMemoryView.Margin = new Padding(2, 2, 2, 2); txtMemoryView.Name = "txtMemoryView"; - txtMemoryView.Size = new Size(472, 266); + txtMemoryView.Size = new Size(416, 195); txtMemoryView.TabIndex = 15; txtMemoryView.Text = "Memory View Window"; // // lstDisassembly // lstDisassembly.FormattingEnabled = true; - lstDisassembly.ItemHeight = 25; - lstDisassembly.Location = new Point(635, 12); + lstDisassembly.Location = new Point(533, 11); + lstDisassembly.Margin = new Padding(2, 2, 2, 2); lstDisassembly.Name = "lstDisassembly"; - lstDisassembly.Size = new Size(231, 354); + lstDisassembly.Size = new Size(186, 264); lstDisassembly.TabIndex = 16; // // lstStack // lstStack.FormattingEnabled = true; - lstStack.ItemHeight = 25; - lstStack.Location = new Point(904, 12); + lstStack.Location = new Point(723, 11); + lstStack.Margin = new Padding(2, 2, 2, 2); lstStack.Name = "lstStack"; - lstStack.Size = new Size(231, 354); + lstStack.Size = new Size(186, 264); lstStack.TabIndex = 17; // // btnExit // - btnExit.Location = new Point(1023, 391); + btnExit.Location = new Point(818, 313); + btnExit.Margin = new Padding(2, 2, 2, 2); btnExit.Name = "btnExit"; - btnExit.Size = new Size(112, 34); + btnExit.Size = new Size(90, 27); btnExit.TabIndex = 18; btnExit.Text = "Full Exit"; btnExit.UseVisualStyleBackColor = true; @@ -195,9 +209,9 @@ // // DebuggerForm // - AutoScaleDimensions = new SizeF(10F, 25F); + AutoScaleDimensions = new SizeF(8F, 20F); AutoScaleMode = AutoScaleMode.Font; - ClientSize = new Size(1157, 437); + ClientSize = new Size(927, 350); Controls.Add(btnExit); Controls.Add(lstStack); Controls.Add(lstDisassembly); @@ -214,6 +228,7 @@ Controls.Add(lblDE); Controls.Add(lblBC); Controls.Add(lblAF); + Margin = new Padding(2, 2, 2, 2); Name = "DebuggerForm"; Text = "DebuggerForm"; ResumeLayout(false);