From 3b99cad32bfebb6befc012b78ed8fe0b73aa171e Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Wed, 31 Dec 2025 12:13:58 -0500 Subject: [PATCH] fix(ui): Move filename to separate row in metadata panel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed filename overlapping with video codec information: - Moved filename to its own full-width row at the top - Two-column grid now starts below filename - Prevents long filenames from overlapping with right column data - Improves readability of metadata panel This addresses the issue where long filenames like "She's So Small 12 Scene 3 Dillion Harper.mp4" would run into "Video Codec: h264" on the same line. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- main.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index eb81e09..4cb88f6 100644 --- a/main.go +++ b/main.go @@ -9158,9 +9158,11 @@ Metadata: %s`, return container.NewHBox(keyLabel, valueLabel) } + // Filename gets its own full-width row to prevent overlap + fileRow := makeRow("File", src.DisplayName) + // Organize metadata into a compact two-column grid col1 := container.NewVBox( - makeRow("File", src.DisplayName), makeRow("Format", utils.FirstNonEmpty(src.Format, "Unknown")), makeRow("Resolution", fmt.Sprintf("%dx%d", src.Width, src.Height)), makeRow("Aspect Ratio", src.AspectRatioString()), @@ -9187,7 +9189,10 @@ Metadata: %s`, // Add spacing between the two columns spacer := layout.NewSpacer() - info := container.NewHBox(col1, spacer, col2) + twoColGrid := container.NewHBox(col1, spacer, col2) + + // Combine filename row with two-column grid + info := container.NewVBox(fileRow, twoColGrid) // Copy metadata button - beside header text copyBtn := widget.NewButton("📋", func() {