How to add icon to a custom component in Servoy Titanium

Forum to discuss the new web client version of Servoy.

How to add icon to a custom component in Servoy Titanium

Postby ashutoslenka4261 » Sun May 12, 2024 4:32 pm

Hi All,

How to add icon to a custom component in Servoy Titanium ? . Will it be in the spec file ?

Please help me . please provide your suggestions.

Thanks,
Ashutos Lenka
ashutoslenka4261
 
Posts: 15
Joined: Mon Mar 18, 2019 10:29 am

Re: How to add icon to a custom component in Servoy Titanium

Postby g.collette » Mon May 13, 2024 10:23 am

If you meant "Custom angularjs components" with custom component, then you can do so by using CSS, spans and i elements.
F.e. <i class="fa fa-regular fa-circle-check"></i> <-- an example of font-awesome use.

If you didn't mean to add an icon to the rendered component, but an icon for the component in the editor's list: I'm not sure..
g.collette
 
Posts: 9
Joined: Fri Dec 08, 2023 2:58 pm

Re: How to add icon to a custom component in Servoy Titanium

Postby ashutoslenka4261 » Mon May 13, 2024 10:35 am

sorry I meant an icon in the editor's list..
ashutoslenka4261
 
Posts: 15
Joined: Mon Mar 18, 2019 10:29 am

Re: How to add icon to a custom component in Servoy Titanium

Postby mboegem » Mon May 13, 2024 3:37 pm

Hi,

there isn't much documentation about this, however if you have a look at the various Servoy Github repositories, there are plenty examples.
Marc Boegem
Solutiative / JBS Group, Partner
Servoy Specialist
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image
User avatar
mboegem
 
Posts: 1817
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 7 guests