Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Ask Reuben 149 - Color Icons  (Read 4460 times)
Reuben B.
Four Js
Posts: 1116


« on: November 14, 2022, 03:57:27 am »

When TTF Icons were introduced to Genero in 3.00 , they required an additional configuration file that provided an image-to-font glyph mapping.  This is the image2font.txt that is found in $FGLDIR/lib that will be referenced by FGLIMAGEPATH.  To render TTF Icons in different colors required adding additional lines to this configuration file.
 
With the recent GBC 4.01.06 maintenance release, an issue was resolved surrounding the use of the defaultTTFColor presentation style.  You can also now use Presentation Styles to control the color of TTF Icons just as you would other widgets.

Read more at https://4js.com/ask-reuben/ig-149/

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines