MCPcopy Create free account
hub / github.com/DEROFDN/Engram / Size

Method Size

theme.go:187–210  ·  view source on GitHub ↗
(s fyne.ThemeSizeName)

Source from the content-addressed store, hash-verified

185}
186
187func (eTheme2) Size(s fyne.ThemeSizeName) float32 {
188 switch s {
189 case theme.SizeNameCaptionText:
190 return 11
191 case theme.SizeNameInlineIcon:
192 return 20
193 case theme.SizeNamePadding:
194 return 4
195 case theme.SizeNameScrollBar:
196 return 16
197 case theme.SizeNameScrollBarSmall:
198 return 3
199 case theme.SizeNameSeparatorThickness:
200 return 1
201 case theme.SizeNameText:
202 return 15
203 case theme.SizeNameInputBorder:
204 return 2
205 case theme.SizeNameHeadingText:
206 return 24
207 default:
208 return theme.DefaultTheme().Size(s)
209 }
210}

Callers

nothing calls this directly

Calls 1

SizeMethod · 0.45

Tested by

no test coverage detected