From 57c6be0bee8043c16139cc06d2f1950d8a6858db Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Sat, 13 Dec 2025 09:01:07 -0500 Subject: [PATCH] Fix Merge module file list to use full vertical space MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue: File list only used half the vertical space, wasting screen real estate. Changed left panel from VBox to Border layout: - Top: "Clips to Merge" label and Add/Clear buttons (fixed size) - Center: File list scroll area (expands to fill remaining space) The border layout gives the scroll area priority to expand vertically, maximizing the visible file list area. This is especially important when merging many clips. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- main.go | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index b01a294..e900667 100644 --- a/main.go +++ b/main.go @@ -1807,11 +1807,18 @@ func (s *appState) showMergeView() { } listScroll := container.NewVScroll(listBox) - listScroll.SetMinSize(fyne.NewSize(400, 300)) - left := container.NewVBox( + // Use border layout so the list expands to fill available vertical space + leftTop := container.NewVBox( widget.NewLabelWithStyle("Clips to Merge", fyne.TextAlignLeading, fyne.TextStyle{Bold: true}), container.NewHBox(addBtn, clearBtn), + ) + + left := container.NewBorder( + leftTop, // top + nil, // bottom + nil, // left + nil, // right ui.NewDroppable(listScroll, func(items []fyne.URI) { var paths []string for _, uri := range items {