mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 18:35:34 +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
|
// though the underlying state is the same. A widget.Clickable can be drawn as a
|
||||||
// round icon button:
|
// round icon button:
|
||||||
//
|
//
|
||||||
// icon := material.NewIcon(...)
|
// icon := widget.NewIcon(...)
|
||||||
//
|
//
|
||||||
// material.IconButton(theme, icon).Layout(gtx, button)
|
// material.IconButton(theme, icon).Layout(gtx, button)
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user