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:
8
OpenNest/Forms/BomImportForm.Designer.cs
generated
8
OpenNest/Forms/BomImportForm.Designer.cs
generated
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user