Fix queue scroll jump and DVD format codec selection

This commit is contained in:
Stu Leak 2025-11-30 00:15:04 -05:00
parent 54eab7d800
commit c237cb8a8e
2 changed files with 7 additions and 3 deletions

View File

@ -76,7 +76,10 @@ func BuildQueueView(
}
jobList := container.NewVBox(jobItems...)
scrollable := container.NewVScroll(jobList)
// Use a scroll container anchored to the top to avoid jumpy scroll-to-content behavior.
scrollable := container.NewScroll(jobList)
scrollable.SetMinSize(fyne.NewSize(0, 0))
scrollable.Offset = fyne.NewPos(0, 0)
body := container.NewBorder(
header,

View File

@ -1807,9 +1807,10 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
simpleOptions,
)
// Avoid nested scrolls capturing wheel events; let the outer page scroll handle overflow.
// Keep Simple lightweight; wrap Advanced in its own scroll to avoid bloating MinSize.
simpleScrollBox := simpleWithSettings
advancedScrollBox := advancedOptions
advancedScrollBox := container.NewVScroll(advancedOptions)
advancedScrollBox.SetMinSize(fyne.NewSize(0, 0))
tabs := container.NewAppTabs(
container.NewTabItem("Simple", simpleScrollBox),