Fix queue scroll jump and DVD format codec selection
This commit is contained in:
parent
54eab7d800
commit
c237cb8a8e
|
|
@ -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,
|
||||
|
|
|
|||
5
main.go
5
main.go
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user