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:
Generated
+4
-4
@@ -227,7 +227,6 @@ namespace OpenNest.Forms
|
|||||||
pnlBottom.Controls.Add(btnClose);
|
pnlBottom.Controls.Add(btnClose);
|
||||||
pnlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
|
pnlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
pnlBottom.Height = 60;
|
pnlBottom.Height = 60;
|
||||||
pnlBottom.Location = new System.Drawing.Point(0, 460);
|
|
||||||
pnlBottom.Name = "pnlBottom";
|
pnlBottom.Name = "pnlBottom";
|
||||||
pnlBottom.TabIndex = 2;
|
pnlBottom.TabIndex = 2;
|
||||||
//
|
//
|
||||||
@@ -274,11 +273,12 @@ namespace OpenNest.Forms
|
|||||||
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
CancelButton = btnClose;
|
CancelButton = btnClose;
|
||||||
ClientSize = new System.Drawing.Size(530, 560);
|
ClientSize = new System.Drawing.Size(530, 560);
|
||||||
Controls.Add(grpGroups);
|
|
||||||
Controls.Add(grpInput);
|
|
||||||
Controls.Add(pnlBottom);
|
Controls.Add(pnlBottom);
|
||||||
|
Controls.Add(grpInput);
|
||||||
|
Controls.Add(grpGroups);
|
||||||
Font = new System.Drawing.Font("Segoe UI", 9F);
|
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;
|
MaximizeBox = false;
|
||||||
MinimizeBox = false;
|
MinimizeBox = false;
|
||||||
Name = "BomImportForm";
|
Name = "BomImportForm";
|
||||||
|
|||||||
Reference in New Issue
Block a user