From 4d7cd1e46d5ea26368e5b113b3d4cc3a29967bae Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Thu, 1 Jan 2026 12:34:49 -0500 Subject: [PATCH] fix(ui): Wrap spacer in container for better size control MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wrapped the transparent spacer rectangle in a container.NewMax and explicitly called Resize to ensure the 10px height is respected by the VBox layout. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- main.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 7129267..04a6792 100644 --- a/main.go +++ b/main.go @@ -8750,9 +8750,11 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject { } // Stack video and metadata with 10px spacing between them - // Create a 10px spacer - spacer := canvas.NewRectangle(color.Transparent) - spacer.SetMinSize(fyne.NewSize(1, 10)) + // Create a 10px spacer using a container with fixed size + spacerRect := canvas.NewRectangle(color.Transparent) + spacerRect.SetMinSize(fyne.NewSize(1, 10)) + spacer := container.NewMax(spacerRect) + spacer.Resize(fyne.NewSize(1, 10)) leftColumn := container.NewVBox(videoPanel, spacer, metaPanel)