This repository has been archived by the owner on May 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Icons
Marcel Kloubert edited this page Nov 14, 2021
·
2 revisions
GUI elements, like buttons or quick picks (item selectors), are able to parse and display icons inside their label texts.
The format of an icon placeholder is: $(ICON-NAME)
The example shows, how to create a button with pencil icon as prefix for its label:
{
"ego.power-tools": {
"buttons": [
{
"text": "$(pencil) Open In Notepad",
"action": {
"type": "shell",
"command": "\"notepad.exe\" \"${activeFile}\"",
"wait": false
}
}
]
}
}
licensed under GDFL 1.3 - © Next.e.GO Mobile SE