fix(ui): Use 1px width spacer for 10px vertical spacing

Changed spacer width from 0 to 1 to ensure VBox respects the
minimum size constraint of 10px height between player and metadata.
This commit is contained in:
Stu Leak 2026-01-01 12:33:57 -05:00
parent 59fca9490b
commit 55ddbc9b5d

View File

@ -8750,8 +8750,10 @@ 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(0, 10))
spacer.SetMinSize(fyne.NewSize(1, 10))
leftColumn := container.NewVBox(videoPanel, spacer, metaPanel)
// Split: left side (video + metadata) takes 60% | right side (options) takes 40%