fix(ui): Wrap spacer in container for better size control

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 <noreply@anthropic.com>
This commit is contained in:
Stu Leak 2026-01-01 12:34:49 -05:00
parent 20a3165dc3
commit 4d7cd1e46d

View File

@ -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)