B4J Question [Solved] Mixing FONTAWESOME characters and normal text in a single cell of a B4X-Table

BlueVision

Well-Known Member
Licensed User
Longtime User
I am desperately trying to display Fontawesome characters with additional text in a cell of a B4X table. Ideally, there would even be a different colour...
Does anyone know a solution for this? Unfortunately, simple merging using the CHR function does not work here as it does with a label.
Do I have to explicitly declare the font somewhere?
 

BlueVision

Well-Known Member
Licensed User
Longtime User
Thanks Mariano. Your post put me on the right track. It's a pretty clever way that works.

It's just that it's always a bit of a problem with ideas and implementation. After it worked, I wasn't satisfied with the overall result. The lines in my B4XTable are just too narrow for such gimmicks. It gets very confusing because the FontAwesome icons are just too hard to distinguish even at the maximum possible font size within the line.
Sure, you can make the lines bigger and adjust everything. But then it's at the expense of the clarity of the entire B4XTable.

Ambition and reality... this is the first time I've had this problem.
Nevertheless, thank you very much for your contribution, I think it will also help others on the right track.

Cheers
 
Upvote 0

Mariano Ismael Castro

Active Member
Licensed User
Thanks Mariano. Your post put me on the right track. It's a pretty clever way that works.

It's just that it's always a bit of a problem with ideas and implementation. After it worked, I wasn't satisfied with the overall result. The lines in my B4XTable are just too narrow for such gimmicks. It gets very confusing because the FontAwesome icons are just too hard to distinguish even at the maximum possible font size within the line.
Sure, you can make the lines bigger and adjust everything. But then it's at the expense of the clarity of the entire B4XTable.

Ambition and reality... this is the first time I've had this problem.
Nevertheless, thank you very much for your contribution, I think it will also help others on the right track.

Cheers
I'm glad it worked for you, maybe it's not the best way to do it but I couldn't find any other way.
 
Upvote 0
Top