Skip to content

Commit

Permalink
make expanded scroll bar a bit wider
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth committed Dec 24, 2024
1 parent e90d4e2 commit 712aa29
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions ui/theme/theme.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,14 +260,18 @@ func (m *MyTheme) Font(style fyne.TextStyle) fyne.Resource {
}

func (m *MyTheme) Size(name fyne.ThemeSizeName) float32 {
if name == SizeNameSubSubHeadingText {
switch name {
case SizeNameSubSubHeadingText:
return 15.5
} else if name == SizeNameSubText {
case SizeNameSubText:
return 13
} else if name == SizeNameSuffixText {
case SizeNameSuffixText:
return 12
case theme.SizeNameScrollBar:
return 14
default:
return theme.DefaultTheme().Size(name)
}
return theme.DefaultTheme().Size(name)
}

func (m *MyTheme) getVariant() fyne.ThemeVariant {
Expand Down

0 comments on commit 712aa29

Please sign in to comment.