From d6d7ba84809ac3eb6eef184982cd92c5bfb96f97 Mon Sep 17 00:00:00 2001 From: AJ Isaacs Date: Wed, 18 Mar 2026 17:58:35 -0400 Subject: [PATCH] fix(ui): increase font sizes in progress form for readability Labels: 8.25pt -> 9.75pt, headers: 9pt -> 10.5pt, values: 8.25pt -> 9.75pt. Panel heights increased to accommodate larger text. Co-Authored-By: Claude Opus 4.6 (1M context) --- OpenNest/Forms/NestProgressForm.Designer.cs | 303 +++++++++++--------- 1 file changed, 165 insertions(+), 138 deletions(-) diff --git a/OpenNest/Forms/NestProgressForm.Designer.cs b/OpenNest/Forms/NestProgressForm.Designer.cs index a6779d1..9bd7b12 100644 --- a/OpenNest/Forms/NestProgressForm.Designer.cs +++ b/OpenNest/Forms/NestProgressForm.Designer.cs @@ -17,20 +17,19 @@ namespace OpenNest.Forms private void InitializeComponent() { - phaseStepper = new Controls.PhaseStepperControl(); + phaseStepper = new OpenNest.Controls.PhaseStepperControl(); resultsPanel = new System.Windows.Forms.Panel(); - resultsHeader = new System.Windows.Forms.Label(); resultsTable = new System.Windows.Forms.TableLayoutPanel(); partsLabel = new System.Windows.Forms.Label(); partsValue = new System.Windows.Forms.Label(); densityLabel = new System.Windows.Forms.Label(); densityPanel = new System.Windows.Forms.FlowLayoutPanel(); densityValue = new System.Windows.Forms.Label(); - densityBar = new Controls.DensityBar(); + densityBar = new OpenNest.Controls.DensityBar(); nestedAreaLabel = new System.Windows.Forms.Label(); nestedAreaValue = new System.Windows.Forms.Label(); + resultsHeader = new System.Windows.Forms.Label(); statusPanel = new System.Windows.Forms.Panel(); - statusHeader = new System.Windows.Forms.Label(); statusTable = new System.Windows.Forms.TableLayoutPanel(); plateLabel = new System.Windows.Forms.Label(); plateValue = new System.Windows.Forms.Label(); @@ -38,10 +37,10 @@ namespace OpenNest.Forms elapsedValue = new System.Windows.Forms.Label(); descriptionLabel = new System.Windows.Forms.Label(); descriptionValue = new System.Windows.Forms.Label(); + statusHeader = new System.Windows.Forms.Label(); buttonPanel = new System.Windows.Forms.FlowLayoutPanel(); - acceptButton = new System.Windows.Forms.Button(); stopButton = new System.Windows.Forms.Button(); - + acceptButton = new System.Windows.Forms.Button(); resultsPanel.SuspendLayout(); resultsTable.SuspendLayout(); densityPanel.SuspendLayout(); @@ -49,18 +48,19 @@ namespace OpenNest.Forms statusTable.SuspendLayout(); buttonPanel.SuspendLayout(); SuspendLayout(); - - // + // // phaseStepper - // + // + phaseStepper.ActivePhase = null; phaseStepper.Dock = System.Windows.Forms.DockStyle.Top; - phaseStepper.Height = 60; + phaseStepper.IsComplete = false; + phaseStepper.Location = new System.Drawing.Point(0, 0); phaseStepper.Name = "phaseStepper"; + phaseStepper.Size = new System.Drawing.Size(450, 60); phaseStepper.TabIndex = 0; - - // + // // resultsPanel - // + // resultsPanel.BackColor = System.Drawing.Color.White; resultsPanel.Controls.Add(resultsTable); resultsPanel.Controls.Add(resultsHeader); @@ -69,28 +69,14 @@ namespace OpenNest.Forms resultsPanel.Margin = new System.Windows.Forms.Padding(10, 4, 10, 4); resultsPanel.Name = "resultsPanel"; resultsPanel.Padding = new System.Windows.Forms.Padding(14, 10, 14, 10); - resultsPanel.Size = new System.Drawing.Size(450, 105); + resultsPanel.Size = new System.Drawing.Size(450, 120); resultsPanel.TabIndex = 1; - - // - // resultsHeader - // - resultsHeader.AutoSize = true; - resultsHeader.Dock = System.Windows.Forms.DockStyle.Top; - resultsHeader.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold); - resultsHeader.ForeColor = System.Drawing.Color.FromArgb(85, 85, 85); - resultsHeader.Name = "resultsHeader"; - resultsHeader.Padding = new System.Windows.Forms.Padding(0, 0, 0, 4); - resultsHeader.Size = new System.Drawing.Size(63, 19); - resultsHeader.TabIndex = 0; - resultsHeader.Text = "RESULTS"; - - // + // // resultsTable - // + // resultsTable.AutoSize = true; resultsTable.ColumnCount = 2; - resultsTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); + resultsTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 90F)); resultsTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); resultsTable.Controls.Add(partsLabel, 0, 0); resultsTable.Controls.Add(partsValue, 1, 0); @@ -99,120 +85,135 @@ namespace OpenNest.Forms resultsTable.Controls.Add(nestedAreaLabel, 0, 2); resultsTable.Controls.Add(nestedAreaValue, 1, 2); resultsTable.Dock = System.Windows.Forms.DockStyle.Top; + resultsTable.Location = new System.Drawing.Point(14, 29); resultsTable.Name = "resultsTable"; resultsTable.RowCount = 3; resultsTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); resultsTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); resultsTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); + resultsTable.Size = new System.Drawing.Size(422, 57); resultsTable.TabIndex = 1; - - // + // // partsLabel - // + // partsLabel.AutoSize = true; - partsLabel.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold); + partsLabel.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold); partsLabel.ForeColor = System.Drawing.Color.FromArgb(51, 51, 51); + partsLabel.Location = new System.Drawing.Point(0, 3); partsLabel.Margin = new System.Windows.Forms.Padding(0, 3, 5, 3); partsLabel.Name = "partsLabel"; + partsLabel.Size = new System.Drawing.Size(36, 13); + partsLabel.TabIndex = 0; partsLabel.Text = "Parts:"; - - // + // // partsValue - // + // partsValue.AutoSize = true; - partsValue.Font = new System.Drawing.Font("Consolas", 8.25F); + partsValue.Font = new System.Drawing.Font("Consolas", 9.75F); + partsValue.Location = new System.Drawing.Point(80, 3); partsValue.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); partsValue.Name = "partsValue"; - partsValue.Text = "\u2014"; - - // + partsValue.Size = new System.Drawing.Size(13, 13); + partsValue.TabIndex = 1; + partsValue.Text = "�"; + // // densityLabel - // + // densityLabel.AutoSize = true; - densityLabel.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold); + densityLabel.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold); densityLabel.ForeColor = System.Drawing.Color.FromArgb(51, 51, 51); + densityLabel.Location = new System.Drawing.Point(0, 22); densityLabel.Margin = new System.Windows.Forms.Padding(0, 3, 5, 3); densityLabel.Name = "densityLabel"; + densityLabel.Size = new System.Drawing.Size(49, 13); + densityLabel.TabIndex = 2; densityLabel.Text = "Density:"; - - // + // // densityPanel - // + // densityPanel.AutoSize = true; densityPanel.Controls.Add(densityValue); densityPanel.Controls.Add(densityBar); - densityPanel.FlowDirection = System.Windows.Forms.FlowDirection.LeftToRight; + densityPanel.Location = new System.Drawing.Point(80, 19); densityPanel.Margin = new System.Windows.Forms.Padding(0); densityPanel.Name = "densityPanel"; + densityPanel.Size = new System.Drawing.Size(311, 19); + densityPanel.TabIndex = 3; densityPanel.WrapContents = false; - - // + // // densityValue - // + // densityValue.AutoSize = true; - densityValue.Font = new System.Drawing.Font("Consolas", 8.25F); + densityValue.Font = new System.Drawing.Font("Consolas", 9.75F); + densityValue.Location = new System.Drawing.Point(0, 3); densityValue.Margin = new System.Windows.Forms.Padding(0, 3, 8, 3); densityValue.Name = "densityValue"; - densityValue.Text = "\u2014"; - - // + densityValue.Size = new System.Drawing.Size(13, 13); + densityValue.TabIndex = 0; + densityValue.Text = "�"; + // // densityBar - // + // + densityBar.Location = new System.Drawing.Point(21, 5); densityBar.Margin = new System.Windows.Forms.Padding(0, 5, 0, 0); densityBar.Name = "densityBar"; - densityBar.Size = new System.Drawing.Size(60, 8); - - // + densityBar.Size = new System.Drawing.Size(290, 8); + densityBar.TabIndex = 1; + densityBar.Value = 0D; + // // nestedAreaLabel - // + // nestedAreaLabel.AutoSize = true; - nestedAreaLabel.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold); + nestedAreaLabel.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold); nestedAreaLabel.ForeColor = System.Drawing.Color.FromArgb(51, 51, 51); + nestedAreaLabel.Location = new System.Drawing.Point(0, 41); nestedAreaLabel.Margin = new System.Windows.Forms.Padding(0, 3, 5, 3); nestedAreaLabel.Name = "nestedAreaLabel"; + nestedAreaLabel.Size = new System.Drawing.Size(47, 13); + nestedAreaLabel.TabIndex = 4; nestedAreaLabel.Text = "Nested:"; - - // + // // nestedAreaValue - // + // nestedAreaValue.AutoSize = true; - nestedAreaValue.Font = new System.Drawing.Font("Consolas", 8.25F); + nestedAreaValue.Font = new System.Drawing.Font("Consolas", 9.75F); + nestedAreaValue.Location = new System.Drawing.Point(80, 41); nestedAreaValue.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); nestedAreaValue.Name = "nestedAreaValue"; - nestedAreaValue.Text = "\u2014"; - - // + nestedAreaValue.Size = new System.Drawing.Size(13, 13); + nestedAreaValue.TabIndex = 5; + nestedAreaValue.Text = "�"; + // + // resultsHeader + // + resultsHeader.AutoSize = true; + resultsHeader.Dock = System.Windows.Forms.DockStyle.Top; + resultsHeader.Font = new System.Drawing.Font("Segoe UI", 10.5F, System.Drawing.FontStyle.Bold); + resultsHeader.ForeColor = System.Drawing.Color.FromArgb(85, 85, 85); + resultsHeader.Location = new System.Drawing.Point(14, 10); + resultsHeader.Name = "resultsHeader"; + resultsHeader.Padding = new System.Windows.Forms.Padding(0, 0, 0, 4); + resultsHeader.Size = new System.Drawing.Size(56, 19); + resultsHeader.TabIndex = 0; + resultsHeader.Text = "RESULTS"; + // // statusPanel - // + // statusPanel.BackColor = System.Drawing.Color.White; statusPanel.Controls.Add(statusTable); statusPanel.Controls.Add(statusHeader); statusPanel.Dock = System.Windows.Forms.DockStyle.Top; - statusPanel.Location = new System.Drawing.Point(0, 169); + statusPanel.Location = new System.Drawing.Point(0, 165); statusPanel.Name = "statusPanel"; statusPanel.Padding = new System.Windows.Forms.Padding(14, 10, 14, 10); - statusPanel.Size = new System.Drawing.Size(450, 100); + statusPanel.Size = new System.Drawing.Size(450, 115); statusPanel.TabIndex = 2; - - // - // statusHeader - // - statusHeader.AutoSize = true; - statusHeader.Dock = System.Windows.Forms.DockStyle.Top; - statusHeader.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Bold); - statusHeader.ForeColor = System.Drawing.Color.FromArgb(85, 85, 85); - statusHeader.Name = "statusHeader"; - statusHeader.Padding = new System.Windows.Forms.Padding(0, 0, 0, 4); - statusHeader.Size = new System.Drawing.Size(55, 19); - statusHeader.TabIndex = 0; - statusHeader.Text = "STATUS"; - - // + // // statusTable - // + // statusTable.AutoSize = true; statusTable.ColumnCount = 2; - statusTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 80F)); + statusTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 90F)); statusTable.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); statusTable.Controls.Add(plateLabel, 0, 0); statusTable.Controls.Add(plateValue, 1, 0); @@ -221,101 +222,115 @@ namespace OpenNest.Forms statusTable.Controls.Add(descriptionLabel, 0, 2); statusTable.Controls.Add(descriptionValue, 1, 2); statusTable.Dock = System.Windows.Forms.DockStyle.Top; + statusTable.Location = new System.Drawing.Point(14, 29); statusTable.Name = "statusTable"; statusTable.RowCount = 3; statusTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); statusTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); statusTable.RowStyles.Add(new System.Windows.Forms.RowStyle()); + statusTable.Size = new System.Drawing.Size(422, 57); statusTable.TabIndex = 1; - - // + // // plateLabel - // + // plateLabel.AutoSize = true; - plateLabel.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold); + plateLabel.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold); plateLabel.ForeColor = System.Drawing.Color.FromArgb(51, 51, 51); + plateLabel.Location = new System.Drawing.Point(0, 3); plateLabel.Margin = new System.Windows.Forms.Padding(0, 3, 5, 3); plateLabel.Name = "plateLabel"; + plateLabel.Size = new System.Drawing.Size(36, 13); + plateLabel.TabIndex = 0; plateLabel.Text = "Plate:"; - - // + // // plateValue - // + // plateValue.AutoSize = true; - plateValue.Font = new System.Drawing.Font("Consolas", 8.25F); + plateValue.Font = new System.Drawing.Font("Consolas", 9.75F); + plateValue.Location = new System.Drawing.Point(80, 3); plateValue.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); plateValue.Name = "plateValue"; - plateValue.Text = "\u2014"; - - // + plateValue.Size = new System.Drawing.Size(13, 13); + plateValue.TabIndex = 1; + plateValue.Text = "�"; + // // elapsedLabel - // + // elapsedLabel.AutoSize = true; - elapsedLabel.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold); + elapsedLabel.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold); elapsedLabel.ForeColor = System.Drawing.Color.FromArgb(51, 51, 51); + elapsedLabel.Location = new System.Drawing.Point(0, 22); elapsedLabel.Margin = new System.Windows.Forms.Padding(0, 3, 5, 3); elapsedLabel.Name = "elapsedLabel"; + elapsedLabel.Size = new System.Drawing.Size(50, 13); + elapsedLabel.TabIndex = 2; elapsedLabel.Text = "Elapsed:"; - - // + // // elapsedValue - // + // elapsedValue.AutoSize = true; - elapsedValue.Font = new System.Drawing.Font("Consolas", 8.25F); + elapsedValue.Font = new System.Drawing.Font("Consolas", 9.75F); + elapsedValue.Location = new System.Drawing.Point(80, 22); elapsedValue.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); elapsedValue.Name = "elapsedValue"; + elapsedValue.Size = new System.Drawing.Size(31, 13); + elapsedValue.TabIndex = 3; elapsedValue.Text = "0:00"; - - // + // // descriptionLabel - // + // descriptionLabel.AutoSize = true; - descriptionLabel.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold); + descriptionLabel.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Bold); descriptionLabel.ForeColor = System.Drawing.Color.FromArgb(51, 51, 51); + descriptionLabel.Location = new System.Drawing.Point(0, 41); descriptionLabel.Margin = new System.Windows.Forms.Padding(0, 3, 5, 3); descriptionLabel.Name = "descriptionLabel"; + descriptionLabel.Size = new System.Drawing.Size(40, 13); + descriptionLabel.TabIndex = 4; descriptionLabel.Text = "Detail:"; - - // + // // descriptionValue - // + // descriptionValue.AutoSize = true; - descriptionValue.Font = new System.Drawing.Font("Segoe UI", 8.25F); + descriptionValue.Font = new System.Drawing.Font("Segoe UI", 9.75F); + descriptionValue.Location = new System.Drawing.Point(80, 41); descriptionValue.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); descriptionValue.Name = "descriptionValue"; - descriptionValue.Text = "\u2014"; - - // + descriptionValue.Size = new System.Drawing.Size(18, 13); + descriptionValue.TabIndex = 5; + descriptionValue.Text = "�"; + // + // statusHeader + // + statusHeader.AutoSize = true; + statusHeader.Dock = System.Windows.Forms.DockStyle.Top; + statusHeader.Font = new System.Drawing.Font("Segoe UI", 10.5F, System.Drawing.FontStyle.Bold); + statusHeader.ForeColor = System.Drawing.Color.FromArgb(85, 85, 85); + statusHeader.Location = new System.Drawing.Point(14, 10); + statusHeader.Name = "statusHeader"; + statusHeader.Padding = new System.Windows.Forms.Padding(0, 0, 0, 4); + statusHeader.Size = new System.Drawing.Size(50, 19); + statusHeader.TabIndex = 0; + statusHeader.Text = "STATUS"; + // // buttonPanel - // + // buttonPanel.AutoSize = true; buttonPanel.Controls.Add(stopButton); buttonPanel.Controls.Add(acceptButton); buttonPanel.Dock = System.Windows.Forms.DockStyle.Top; buttonPanel.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; + buttonPanel.Location = new System.Drawing.Point(0, 265); buttonPanel.Name = "buttonPanel"; buttonPanel.Padding = new System.Windows.Forms.Padding(9, 6, 9, 6); buttonPanel.Size = new System.Drawing.Size(450, 45); buttonPanel.TabIndex = 3; - - // - // acceptButton - // - acceptButton.Enabled = false; - acceptButton.Font = new System.Drawing.Font("Segoe UI", 8.25F); - acceptButton.Margin = new System.Windows.Forms.Padding(6, 3, 0, 3); - acceptButton.Name = "acceptButton"; - acceptButton.Size = new System.Drawing.Size(93, 27); - acceptButton.TabIndex = 1; - acceptButton.Text = "Accept"; - acceptButton.UseVisualStyleBackColor = true; - acceptButton.Click += AcceptButton_Click; - - // + // // stopButton - // + // stopButton.Enabled = false; - stopButton.Font = new System.Drawing.Font("Segoe UI", 8.25F); + stopButton.Font = new System.Drawing.Font("Segoe UI", 9.75F); + stopButton.Location = new System.Drawing.Point(339, 9); stopButton.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3); stopButton.Name = "stopButton"; stopButton.Size = new System.Drawing.Size(93, 27); @@ -323,13 +338,25 @@ namespace OpenNest.Forms stopButton.Text = "Stop"; stopButton.UseVisualStyleBackColor = true; stopButton.Click += StopButton_Click; - - // + // + // acceptButton + // + acceptButton.Enabled = false; + acceptButton.Font = new System.Drawing.Font("Segoe UI", 9.75F); + acceptButton.Location = new System.Drawing.Point(246, 9); + acceptButton.Margin = new System.Windows.Forms.Padding(6, 3, 0, 3); + acceptButton.Name = "acceptButton"; + acceptButton.Size = new System.Drawing.Size(93, 27); + acceptButton.TabIndex = 1; + acceptButton.Text = "Accept"; + acceptButton.UseVisualStyleBackColor = true; + acceptButton.Click += AcceptButton_Click; + // // NestProgressForm - // + // AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - ClientSize = new System.Drawing.Size(450, 315); + ClientSize = new System.Drawing.Size(450, 345); Controls.Add(buttonPanel); Controls.Add(statusPanel); Controls.Add(resultsPanel);