mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 01:15:35 +00:00
material: fix documentation of creating an icon
Signed-off-by: James Stanley <james@incoherency.co.uk>
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
// though the underlying state is the same. A widget.Clickable can be drawn as a
|
||||
// round icon button:
|
||||
//
|
||||
// icon := material.NewIcon(...)
|
||||
// icon := widget.NewIcon(...)
|
||||
//
|
||||
// material.IconButton(theme, icon).Layout(gtx, button)
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user