Compare commits

..

No commits in common. "17765e484f8024b79895ea4c921334f01c25f120" and "5c8ad4e355f46ed517db6419c3dc092b1a7ce39b" have entirely different histories.

3 changed files with 11 additions and 13 deletions

View File

@ -266,7 +266,7 @@ func (r *moduleTileRenderer) Refresh() {
// Update tile color and text color based on enabled state
if r.tile.enabled {
r.bg.FillColor = r.tile.color
r.label.Color = TextColor // Always white text for enabled modules
r.label.Color = getContrastColor(r.tile.color)
if r.lockIcon != nil {
r.lockIcon.Hide()
}

13
main.go
View File

@ -8479,9 +8479,8 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
// Wrap simple options with settings box at top
simpleWithSettings := container.NewVBox(settingsBox, simpleOptions)
// Both Simple and Advanced get their own scrolling
simpleScrollBox := container.NewVScroll(simpleWithSettings)
simpleScrollBox.SetMinSize(fyne.NewSize(0, 0))
// Keep Simple lightweight; wrap Advanced in its own scroll to avoid bloating MinSize.
simpleScrollBox := simpleWithSettings
advancedScrollBox := container.NewVScroll(advancedOptions)
advancedScrollBox.SetMinSize(fyne.NewSize(0, 0))
@ -8715,8 +8714,8 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
// Split: left side (video + metadata) takes 60% | right side (options) takes 40%
mainSplit := container.New(&fixedHSplitLayout{ratio: 0.6}, leftColumn, optionsPanel)
// Add horizontal padding around the split (10px on each side)
mainContent := container.NewPadded(mainSplit)
// Core content now just the split; ancillary controls stack in bottomSection.
mainContent := container.NewMax(mainSplit)
resetBtn := widget.NewButton("Reset", func() {
if resetConvertDefaults != nil {
@ -9043,6 +9042,8 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
// Update stats bar
state.updateStatsBar()
scrollableMain := container.NewVScroll(mainContent)
// Build footer sections
footerSections := []fyne.CanvasObject{
snippetRow,
@ -9057,7 +9058,7 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
nil,
container.NewVBox(footerSections...),
nil, nil,
mainContent,
container.NewMax(scrollableMain),
)
return container.NewBorder(backBar, moduleFooter(convertColor, actionBar, state.statsBar), nil, nil, mainWithFooter)

View File

@ -165,10 +165,7 @@ func buildSettingsView(state *appState) fyne.CanvasObject {
)
tabs.SetTabLocation(container.TabLocationTop)
// Single scroll container for entire tabs area
scrollableTabs := container.NewVScroll(tabs)
return container.NewBorder(topBar, bottomBar, nil, nil, scrollableTabs)
return container.NewBorder(topBar, bottomBar, nil, nil, tabs)
}
func buildDependenciesTab(state *appState) fyne.CanvasObject {
@ -269,7 +266,7 @@ func buildDependenciesTab(state *appState) fyne.CanvasObject {
})
content.Add(refreshBtn)
return content
return container.NewVScroll(content)
}
func buildPreferencesTab(state *appState) fyne.CanvasObject {
@ -286,7 +283,7 @@ func buildPreferencesTab(state *appState) fyne.CanvasObject {
content.Add(widget.NewLabel("• UI theme preferences"))
content.Add(widget.NewLabel("• Automatic updates"))
return content
return container.NewVScroll(content)
}
func (s *appState) showSettingsView() {