Hi,
Our customer would like to use their own font icons in LANSA Material Design controls. (Their designer creates .ccs and .woff etc. of their font icons.)
They would like to specify their font icon name to the ICON property of LANSA Material Design controls (e.g. PRIM_MD.RaisedButton) and change color using LANSA style.
Is there any way they could do that?
Thank you in advance.
Sepecify customer own font icon to LANSA Material Design controls property
-
Kazunori Kasahara
- Posts: 20
- Joined: Wed May 25, 2016 5:26 pm
-
Donn Delaney
- Posts: 2
- Joined: Wed Jan 23, 2019 9:54 am
Re: Sepecify customer own font icon to LANSA Material Design controls property
Hi Kazunori,
The css file can be added to a web page from the resources tab and the material design Icon property supports the setting of a class name.
Here is a Define_Com showing the usage of a fontello generated class name.
Define_Com Class(#PRIM_MD.Icon) Name(#Icon1) Displayposition(4) Left(294) Parent(#COM_OWNER) Tabposition(2) Top(351) Height(100) Width(100) Themedrawstyle('Card') Icon('icon-clouds-flash-alt')
The following pic shows where to embed a Fontello generated font ccs file to a web page (The file itself must be manually copied to the same location as the .html page)
The css file can be added to a web page from the resources tab and the material design Icon property supports the setting of a class name.
Here is a Define_Com showing the usage of a fontello generated class name.
Define_Com Class(#PRIM_MD.Icon) Name(#Icon1) Displayposition(4) Left(294) Parent(#COM_OWNER) Tabposition(2) Top(351) Height(100) Width(100) Themedrawstyle('Card') Icon('icon-clouds-flash-alt')
The following pic shows where to embed a Fontello generated font ccs file to a web page (The file itself must be manually copied to the same location as the .html page)
-
Kazunori Kasahara
- Posts: 20
- Joined: Wed May 25, 2016 5:26 pm
Re: Sepecify customer own font icon to LANSA Material Design controls property
Thank you very much Donn. I will try it out.