Swing uses icons to improve the user experience. Whenever the icon is configurable, the user can choose among 3 different sets of icons, which are described here.
|
To use the ico: it is required to adopt the format ico:icon_xxx, the icons will not visible in the column if you omitted the "icon_" string. |
Méthode Swing default icons
Swing includes a default icons set.
Icon configuration example:
<icons>
<icon type="ico:icon_issue-date">emui-icon-issue-date</icon>
<icon type="ico:icon_sound">emui-icon-sound-light</icon>
</icons>
|
Starting from Swig 5.2021.07 this set of icons is deprecated and will be removed in a future version. Please use Swing icons instead. |
Font Awesome 5.1.0 icons
Swing includes Font Awesome 5.1.0 icons set.
Icon configuration example:
<icons>
<icon type="ico:icon_bell">fas fa-bell</icon>
<icon type="ico:icon_car">fas fa-car</icon>
</icons>
| The class value is required in the icon tag. |
Bootstrap 3.3.6 icons
Swing includes also Bootstrap 3.3.6 icon set (Glyphicons). However, their use is not encouraged.
| When the css class for the icon appears both in Font-Awesome icon set and in Bootstrap icon set, Méthode Swing will always use the Font Awesome one. |