Fix queue scroll jump and DVD format codec selection
This commit is contained in:
parent
bf928836d9
commit
a6721080c5
|
|
@ -76,7 +76,10 @@ func BuildQueueView(
|
||||||
}
|
}
|
||||||
|
|
||||||
jobList := container.NewVBox(jobItems...)
|
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(
|
body := container.NewBorder(
|
||||||
header,
|
header,
|
||||||
|
|
|
||||||
5
main.go
5
main.go
|
|
@ -1807,9 +1807,10 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
|
||||||
simpleOptions,
|
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
|
simpleScrollBox := simpleWithSettings
|
||||||
advancedScrollBox := advancedOptions
|
advancedScrollBox := container.NewVScroll(advancedOptions)
|
||||||
|
advancedScrollBox.SetMinSize(fyne.NewSize(0, 0))
|
||||||
|
|
||||||
tabs := container.NewAppTabs(
|
tabs := container.NewAppTabs(
|
||||||
container.NewTabItem("Simple", simpleScrollBox),
|
container.NewTabItem("Simple", simpleScrollBox),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user