From 86b78393d63f790a486710ffbd010546ce37d5b9 Mon Sep 17 00:00:00 2001 From: AJ Isaacs Date: Tue, 27 Oct 2026 14:03:32 -0400 Subject: [PATCH] fix(ui): move the saved-nests Find bar above the grid At the bottom of the form the search box read as part of the Details panel. It now sits under the Nests header, next to the list it filters, and comes first in the tab order. Co-Authored-By: Claude Opus 5.5 (cherry picked from commit 207f126b9e27e4b0168586f925228ab2ac57ec6a) --- OpenNest/Forms/SavedNestsForm.cs | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/OpenNest/Forms/SavedNestsForm.cs b/OpenNest/Forms/SavedNestsForm.cs index 13c55d9d..dfd343ad 100644 --- a/OpenNest/Forms/SavedNestsForm.cs +++ b/OpenNest/Forms/SavedNestsForm.cs @@ -307,18 +307,23 @@ public sealed class SavedNestsForm : Form findBar.Controls.Add(nextButton); findBar.Controls.Add(summaryLabel); - var bottom = new TableLayoutPanel + // The find bar sits between the Nests header and the grid it filters, and comes + // first in the tab order. + var findPanel = new TableLayoutPanel { - Dock = DockStyle.Bottom, + Dock = DockStyle.Top, AutoSize = true, ColumnCount = 1, - Padding = new Padding(3, 3, 3, 6), + Padding = new Padding(3, 0, 3, 3), + TabIndex = 0, }; - bottom.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100)); - bottom.Controls.Add(findBar); + findPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100)); + findPanel.Controls.Add(findBar); + nestGrid.TabIndex = 1; + split.Panel1.Controls.Add(findPanel); + split.Panel1.Controls.SetChildIndex(findPanel, 1); Controls.Add(split); - Controls.Add(bottom); Load += (_, _) => {