Add info and sample for SVG icons and prefs edit dialog

This commit is contained in:
Evgeny
2024-05-16 14:21:05 +04:00
parent 7fb9d43cea
commit 1c2ab3341a
4 changed files with 53 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ Third way: display icon in the button:
{"button", "Text with icon: %%fa:microphone%%"}
```
The second method also allows displaying icons of applications and contacts. How to do this is shown in the example [samples/rich-ui-sample.lua].
The second method also allows displaying icons of applications and contacts. How to do this is shown in the example [rich-ui-sample.lua](samples/rich-ui-sample.lua). You can also use the `icon` element to display your own icons in SVG format. Example: [svg-sample.lua](samples/svg-sample.lua).
By the way, if you want the button to stretch across the entire width of the screen, you can use the expand argument: