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) <noreply@anthropic.com>
This commit is contained in:
2026-03-27 17:55:18 -04:00
parent f0bdaa14e6
commit 4b10d4801c

View File

@@ -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";