Add horizontal padding to snippet controls
This commit is contained in:
parent
52beb6dac8
commit
672a67fe2a
3
main.go
3
main.go
|
|
@ -9913,6 +9913,9 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
|
||||||
} else {
|
} else {
|
||||||
snippetRow = container.NewHBox(snippetBtn, snippetOptionsBtn, layout.NewSpacer(), snippetHint)
|
snippetRow = container.NewHBox(snippetBtn, snippetOptionsBtn, layout.NewSpacer(), snippetHint)
|
||||||
}
|
}
|
||||||
|
snippetPad := canvas.NewRectangle(color.Transparent)
|
||||||
|
snippetPad.SetMinSize(fyne.NewSize(10, 0))
|
||||||
|
snippetRow = container.NewBorder(nil, nil, snippetPad, snippetPad, snippetRow)
|
||||||
|
|
||||||
// Left column: player on top, metadata pinned to bottom.
|
// Left column: player on top, metadata pinned to bottom.
|
||||||
leftColumn := container.NewBorder(nil, metaPanel, nil, nil, videoPanel)
|
leftColumn := container.NewBorder(nil, metaPanel, nil, nil, videoPanel)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user