Minor adjustment to Debugger layout

This commit is contained in:
2026-04-08 23:35:33 +01:00
parent 5550eb8c91
commit f14d2c4ccc

View File

@@ -49,80 +49,89 @@
// lblAF // lblAF
// //
lblAF.AutoSize = true; 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.Name = "lblAF";
lblAF.Size = new Size(33, 25); lblAF.Size = new Size(26, 20);
lblAF.TabIndex = 0; lblAF.TabIndex = 0;
lblAF.Text = "AF"; lblAF.Text = "AF";
// //
// lblBC // lblBC
// //
lblBC.AutoSize = true; 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.Name = "lblBC";
lblBC.Size = new Size(33, 25); lblBC.Size = new Size(27, 20);
lblBC.TabIndex = 1; lblBC.TabIndex = 1;
lblBC.Text = "BC"; lblBC.Text = "BC";
// //
// lblDE // lblDE
// //
lblDE.AutoSize = true; 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.Name = "lblDE";
lblDE.Size = new Size(34, 25); lblDE.Size = new Size(28, 20);
lblDE.TabIndex = 2; lblDE.TabIndex = 2;
lblDE.Text = "DE"; lblDE.Text = "DE";
// //
// lblHL // lblHL
// //
lblHL.AutoSize = true; 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.Name = "lblHL";
lblHL.Size = new Size(33, 25); lblHL.Size = new Size(27, 20);
lblHL.TabIndex = 3; lblHL.TabIndex = 3;
lblHL.Text = "HL"; lblHL.Text = "HL";
// //
// lblPC // lblPC
// //
lblPC.AutoSize = true; 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.Name = "lblPC";
lblPC.Size = new Size(33, 25); lblPC.Size = new Size(26, 20);
lblPC.TabIndex = 4; lblPC.TabIndex = 4;
lblPC.Text = "PC"; lblPC.Text = "PC";
// //
// lblSP // lblSP
// //
lblSP.AutoSize = true; 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.Name = "lblSP";
lblSP.Size = new Size(32, 25); lblSP.Size = new Size(25, 20);
lblSP.TabIndex = 6; lblSP.TabIndex = 6;
lblSP.Text = "SP"; lblSP.Text = "SP";
// //
// lblFlags // lblFlags
// //
lblFlags.AutoSize = true; 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.Name = "lblFlags";
lblFlags.Size = new Size(53, 25); lblFlags.Size = new Size(43, 20);
lblFlags.TabIndex = 7; lblFlags.TabIndex = 7;
lblFlags.Text = "Flags"; lblFlags.Text = "Flags";
// //
// lblTStates // lblTStates
// //
lblTStates.AutoSize = true; 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.Name = "lblTStates";
lblTStates.Size = new Size(75, 25); lblTStates.Size = new Size(63, 20);
lblTStates.TabIndex = 8; lblTStates.TabIndex = 8;
lblTStates.Text = "T-States"; lblTStates.Text = "T-States";
// //
// txtMemoryStart // 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.Name = "txtMemoryStart";
txtMemoryStart.Size = new Size(150, 31); txtMemoryStart.Size = new Size(121, 27);
txtMemoryStart.TabIndex = 9; txtMemoryStart.TabIndex = 9;
txtMemoryStart.Text = "Memory Start"; txtMemoryStart.Text = "Memory Start";
txtMemoryStart.TextAlign = HorizontalAlignment.Center; txtMemoryStart.TextAlign = HorizontalAlignment.Center;
@@ -130,9 +139,10 @@
// //
// btnStep // 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.Name = "btnStep";
btnStep.Size = new Size(112, 34); btnStep.Size = new Size(90, 27);
btnStep.TabIndex = 12; btnStep.TabIndex = 12;
btnStep.Text = "Step"; btnStep.Text = "Step";
btnStep.UseVisualStyleBackColor = true; btnStep.UseVisualStyleBackColor = true;
@@ -140,18 +150,20 @@
// //
// btnRun // 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.Name = "btnRun";
btnRun.Size = new Size(112, 34); btnRun.Size = new Size(90, 27);
btnRun.TabIndex = 13; btnRun.TabIndex = 13;
btnRun.Text = "Run"; btnRun.Text = "Run";
btnRun.UseVisualStyleBackColor = true; btnRun.UseVisualStyleBackColor = true;
// //
// btnRefreshMemory // 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.Name = "btnRefreshMemory";
btnRefreshMemory.Size = new Size(112, 34); btnRefreshMemory.Size = new Size(90, 27);
btnRefreshMemory.TabIndex = 14; btnRefreshMemory.TabIndex = 14;
btnRefreshMemory.Text = "Refresh Memory"; btnRefreshMemory.Text = "Refresh Memory";
btnRefreshMemory.UseVisualStyleBackColor = true; btnRefreshMemory.UseVisualStyleBackColor = true;
@@ -159,35 +171,37 @@
// //
// txtMemoryView // 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.Name = "txtMemoryView";
txtMemoryView.Size = new Size(472, 266); txtMemoryView.Size = new Size(416, 195);
txtMemoryView.TabIndex = 15; txtMemoryView.TabIndex = 15;
txtMemoryView.Text = "Memory View Window"; txtMemoryView.Text = "Memory View Window";
// //
// lstDisassembly // lstDisassembly
// //
lstDisassembly.FormattingEnabled = true; lstDisassembly.FormattingEnabled = true;
lstDisassembly.ItemHeight = 25; lstDisassembly.Location = new Point(533, 11);
lstDisassembly.Location = new Point(635, 12); lstDisassembly.Margin = new Padding(2, 2, 2, 2);
lstDisassembly.Name = "lstDisassembly"; lstDisassembly.Name = "lstDisassembly";
lstDisassembly.Size = new Size(231, 354); lstDisassembly.Size = new Size(186, 264);
lstDisassembly.TabIndex = 16; lstDisassembly.TabIndex = 16;
// //
// lstStack // lstStack
// //
lstStack.FormattingEnabled = true; lstStack.FormattingEnabled = true;
lstStack.ItemHeight = 25; lstStack.Location = new Point(723, 11);
lstStack.Location = new Point(904, 12); lstStack.Margin = new Padding(2, 2, 2, 2);
lstStack.Name = "lstStack"; lstStack.Name = "lstStack";
lstStack.Size = new Size(231, 354); lstStack.Size = new Size(186, 264);
lstStack.TabIndex = 17; lstStack.TabIndex = 17;
// //
// btnExit // 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.Name = "btnExit";
btnExit.Size = new Size(112, 34); btnExit.Size = new Size(90, 27);
btnExit.TabIndex = 18; btnExit.TabIndex = 18;
btnExit.Text = "Full Exit"; btnExit.Text = "Full Exit";
btnExit.UseVisualStyleBackColor = true; btnExit.UseVisualStyleBackColor = true;
@@ -195,9 +209,9 @@
// //
// DebuggerForm // DebuggerForm
// //
AutoScaleDimensions = new SizeF(10F, 25F); AutoScaleDimensions = new SizeF(8F, 20F);
AutoScaleMode = AutoScaleMode.Font; AutoScaleMode = AutoScaleMode.Font;
ClientSize = new Size(1157, 437); ClientSize = new Size(927, 350);
Controls.Add(btnExit); Controls.Add(btnExit);
Controls.Add(lstStack); Controls.Add(lstStack);
Controls.Add(lstDisassembly); Controls.Add(lstDisassembly);
@@ -214,6 +228,7 @@
Controls.Add(lblDE); Controls.Add(lblDE);
Controls.Add(lblBC); Controls.Add(lblBC);
Controls.Add(lblAF); Controls.Add(lblAF);
Margin = new Padding(2, 2, 2, 2);
Name = "DebuggerForm"; Name = "DebuggerForm";
Text = "DebuggerForm"; Text = "DebuggerForm";
ResumeLayout(false); ResumeLayout(false);