fix(settings): Fix double scrollbar issue with single scroll container
- Removed individual VScroll containers from each tab - Added single VScroll around entire tabs container - Matches convert module pattern of one scroll for main content - Eliminates overlapping scrollbars and janky scrolling behavior 🤖 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
2d79b3322d
commit
079969d375
|
|
@ -165,7 +165,10 @@ func buildSettingsView(state *appState) fyne.CanvasObject {
|
|||
)
|
||||
tabs.SetTabLocation(container.TabLocationTop)
|
||||
|
||||
return container.NewBorder(topBar, bottomBar, nil, nil, tabs)
|
||||
// Single scroll container for entire tabs area
|
||||
scrollableTabs := container.NewVScroll(tabs)
|
||||
|
||||
return container.NewBorder(topBar, bottomBar, nil, nil, scrollableTabs)
|
||||
}
|
||||
|
||||
func buildDependenciesTab(state *appState) fyne.CanvasObject {
|
||||
|
|
@ -266,7 +269,7 @@ func buildDependenciesTab(state *appState) fyne.CanvasObject {
|
|||
})
|
||||
content.Add(refreshBtn)
|
||||
|
||||
return container.NewVScroll(content)
|
||||
return content
|
||||
}
|
||||
|
||||
func buildPreferencesTab(state *appState) fyne.CanvasObject {
|
||||
|
|
@ -283,7 +286,7 @@ func buildPreferencesTab(state *appState) fyne.CanvasObject {
|
|||
content.Add(widget.NewLabel("• UI theme preferences"))
|
||||
content.Add(widget.NewLabel("• Automatic updates"))
|
||||
|
||||
return container.NewVScroll(content)
|
||||
return content
|
||||
}
|
||||
|
||||
func (s *appState) showSettingsView() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user