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. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
8763da0799
commit
20a3165dc3
4
main.go
4
main.go
|
|
@ -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%
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user