Compare commits
3 Commits
5c8ad4e355
...
17765e484f
| Author | SHA1 | Date | |
|---|---|---|---|
| 17765e484f | |||
| 079969d375 | |||
| 2d79b3322d |
|
|
@ -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 = getContrastColor(r.tile.color)
|
||||
r.label.Color = TextColor // Always white text for enabled modules
|
||||
if r.lockIcon != nil {
|
||||
r.lockIcon.Hide()
|
||||
}
|
||||
|
|
|
|||
13
main.go
13
main.go
|
|
@ -8479,8 +8479,9 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
|
|||
// Wrap simple options with settings box at top
|
||||
simpleWithSettings := container.NewVBox(settingsBox, simpleOptions)
|
||||
|
||||
// Keep Simple lightweight; wrap Advanced in its own scroll to avoid bloating MinSize.
|
||||
simpleScrollBox := simpleWithSettings
|
||||
// Both Simple and Advanced get their own scrolling
|
||||
simpleScrollBox := container.NewVScroll(simpleWithSettings)
|
||||
simpleScrollBox.SetMinSize(fyne.NewSize(0, 0))
|
||||
advancedScrollBox := container.NewVScroll(advancedOptions)
|
||||
advancedScrollBox.SetMinSize(fyne.NewSize(0, 0))
|
||||
|
||||
|
|
@ -8714,8 +8715,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)
|
||||
|
||||
// Core content now just the split; ancillary controls stack in bottomSection.
|
||||
mainContent := container.NewMax(mainSplit)
|
||||
// Add horizontal padding around the split (10px on each side)
|
||||
mainContent := container.NewPadded(mainSplit)
|
||||
|
||||
resetBtn := widget.NewButton("Reset", func() {
|
||||
if resetConvertDefaults != nil {
|
||||
|
|
@ -9042,8 +9043,6 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
|
|||
// Update stats bar
|
||||
state.updateStatsBar()
|
||||
|
||||
scrollableMain := container.NewVScroll(mainContent)
|
||||
|
||||
// Build footer sections
|
||||
footerSections := []fyne.CanvasObject{
|
||||
snippetRow,
|
||||
|
|
@ -9058,7 +9057,7 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
|
|||
nil,
|
||||
container.NewVBox(footerSections...),
|
||||
nil, nil,
|
||||
container.NewMax(scrollableMain),
|
||||
mainContent,
|
||||
)
|
||||
return container.NewBorder(backBar, moduleFooter(convertColor, actionBar, state.statsBar), nil, nil, mainWithFooter)
|
||||
|
||||
|
|
|
|||
|
|
@ -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