21
Views
2
Comments
Solved
[Simple Resource Viewer] Icons instead of label text
Question
Forge component by Rafael Fantato
1
Published on 23 Apr 2020

Hello, since I didn't find any info in the documentation, I would like to ask if it is possible to replace the label text (first column) with icons.

Thanks in advance.

mvp_badge
MVP
Rank: #86
Solution

Anastasios Thomaidis wrote:

Hello, since I didn't find any info in the documentation, I would like to ask if it is possible to replace the label text (first column) with icons.

Thanks in advance.

Hi Anastasios,

This widget is not hard to change so you can open and change a little bit for your projects. I built this more as a starter widget for many projects.

If you don't wanna the text, just the icon, you can pass in the Label field just the icon class and change the widget to print in the class property instead of an Expression inside this container.

If you want to inject a binary, for instance the user thumbnail, you can add an attribute do widget's structure to add a binary field and add this as an image inside the container where it is the resource label.


Thanks Rafael!