From 4b10d4801c007cb1c979317daf7dbff3d3688aa3 Mon Sep 17 00:00:00 2001 From: AJ Isaacs Date: Fri, 27 Mar 2026 17:55:18 -0400 Subject: [PATCH] fix: correct dock order and make BomImportForm resizable - Add Fill control last so edge-docked controls get space first - Remove stale hardcoded Location on bottom panel - Switch to Sizable border with MinimumSize so user can resize Co-Authored-By: Claude Opus 4.6 (1M context) --- OpenNest/Forms/BomImportForm.Designer.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OpenNest/Forms/BomImportForm.Designer.cs b/OpenNest/Forms/BomImportForm.Designer.cs index 80556af..03a7df2 100644 --- a/OpenNest/Forms/BomImportForm.Designer.cs +++ b/OpenNest/Forms/BomImportForm.Designer.cs @@ -227,7 +227,6 @@ namespace OpenNest.Forms pnlBottom.Controls.Add(btnClose); pnlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; pnlBottom.Height = 60; - pnlBottom.Location = new System.Drawing.Point(0, 460); pnlBottom.Name = "pnlBottom"; pnlBottom.TabIndex = 2; // @@ -274,11 +273,12 @@ namespace OpenNest.Forms AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; CancelButton = btnClose; ClientSize = new System.Drawing.Size(530, 560); - Controls.Add(grpGroups); - Controls.Add(grpInput); Controls.Add(pnlBottom); + Controls.Add(grpInput); + Controls.Add(grpGroups); Font = new System.Drawing.Font("Segoe UI", 9F); - FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + FormBorderStyle = System.Windows.Forms.FormBorderStyle.Sizable; + MinimumSize = new System.Drawing.Size(450, 400); MaximizeBox = false; MinimizeBox = false; Name = "BomImportForm";