Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/lxn/walk
/ ApplyDPI
Method
ApplyDPI
button.go:71–75 ·
view source on GitHub ↗
(dpi int)
Source
from the content-addressed store, hash-verified
69
}
70
71
func
(b *Button) ApplyDPI(dpi int) {
72
b.WidgetBase.ApplyDPI(dpi)
73
74
b.SetImage(b.image)
75
}
76
77
func
(b *Button) Image() Image {
78
return
b.image
Callers
nothing calls this directly
Calls
2
SetImage
Method · 0.95
ApplyDPI
Method · 0.65
Tested by
no test coverage detected