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

Method Size

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

Source from the content-addressed store, hash-verified

92}
93
94func (eTheme) Size(s fyne.ThemeSizeName) float32 {
95 switch s {
96 case theme.SizeNameCaptionText:
97 return 11
98 case theme.SizeNameInlineIcon:
99 return 20
100 case theme.SizeNamePadding:
101 return 4
102 case theme.SizeNameScrollBar:
103 return 16
104 case theme.SizeNameScrollBarSmall:
105 return 3
106 case theme.SizeNameSeparatorThickness:
107 return 1
108 case theme.SizeNameText:
109 return 15
110 case theme.SizeNameInputBorder:
111 return 2
112 case theme.SizeNameHeadingText:
113 return 24
114 default:
115 return theme.DefaultTheme().Size(s)
116 }
117}
118
119type eTheme2 struct{}
120

Callers 3

SizeMethod · 0.45
showLoadingOverlayFunction · 0.45
layoutFrameFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected