From b94919e61624029db7cc4c58672b9d718ddb68aa 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 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. --- 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 {