Compare commits

..

No commits in common. "a486961c4a2e52322787154a13dc3dcb577e058a" and "8403c991e96eb8209d66f4094aa90e1496791d55" have entirely different histories.

3 changed files with 3 additions and 12 deletions

View File

@ -37,6 +37,7 @@ func SetColors(grid, text color.Color) {
type MonoTheme struct{}
func (m *MonoTheme) Color(name fyne.ThemeColorName, variant fyne.ThemeVariant) color.Color {
// Swap hover and selection colors
switch name {
case theme.ColorNameSelection:
// Use the default hover color for selection
@ -44,12 +45,6 @@ func (m *MonoTheme) Color(name fyne.ThemeColorName, variant fyne.ThemeVariant) c
case theme.ColorNameHover:
// Use the default selection color for hover
return theme.DefaultTheme().Color(theme.ColorNameSelection, variant)
case theme.ColorNameButton:
// Use hover color as default button background
return theme.DefaultTheme().Color(theme.ColorNameHover, variant)
case theme.ColorNameInputBackground:
// Use hover color as default input background (for dropdowns/entries)
return theme.DefaultTheme().Color(theme.ColorNameHover, variant)
}
return theme.DefaultTheme().Color(name, variant)
}

View File

@ -9197,7 +9197,7 @@ Metadata: %s`,
keyLabel := widget.NewLabel(key + ":")
keyLabel.TextStyle = fyne.TextStyle{Bold: true}
valueLabel := widget.NewLabel(value)
valueLabel.Wrapping = fyne.TextWrapWord
// Don't wrap - let text flow naturally
return container.NewHBox(keyLabel, valueLabel)
}

View File

@ -200,7 +200,6 @@ func buildDependenciesTab(state *appState) fyne.CanvasObject {
descLabel := widget.NewLabel(dep.Description)
descLabel.TextStyle = fyne.TextStyle{Italic: true}
descLabel.Wrapping = fyne.TextWrapWord
installLabel := widget.NewLabel(dep.InstallCmd)
installLabel.Wrapping = fyne.TextWrapWord
@ -224,9 +223,7 @@ func buildDependenciesTab(state *appState) fyne.CanvasObject {
)
if !isInstalled {
installCmdLabel := widget.NewLabel("Install: " + installLabel.Text)
installCmdLabel.Wrapping = fyne.TextWrapWord
infoBox.Add(installCmdLabel)
infoBox.Add(widget.NewLabel("Install: " + installLabel.Text))
}
// Check which modules need this dependency
@ -249,7 +246,6 @@ func buildDependenciesTab(state *appState) fyne.CanvasObject {
if len(modulesNeeding) > 0 {
neededLabel := widget.NewLabel("Required by: " + strings.Join(modulesNeeding, ", "))
neededLabel.TextStyle = fyne.TextStyle{Italic: true}
neededLabel.Wrapping = fyne.TextWrapWord
infoBox.Add(neededLabel)
}