CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Additional icons

General discussion

by cyracks » 11 May 2018 12:32

Hello,

most of the components have property icon and iconCustom. Is there a way to add additional icons to the selection (it would be nice to have more icons by default) ?

Regards
Tomaž
cyracks
 
Posts: 92
Joined: 09 Feb 2016 12:47

by Jorge Sousa » 11 May 2018 15:04

Hi Tomaž

The IconCustom property is exactly to apply a custom icon, but you to make custom icons, you will have also to add your own css flie, following these instructions:

http://demos.jquerymobile.com/1.3.2/widgets/icons/#CustomIcons

About

it would be nice to have more icons by default


Yes, we wish them too, but these are the only available:

http://demos.jquerymobile.com/1.3.2/widgets/icons/


I'm sorry

With the above instructions, I'm sure you will be to extend to these ones:

http://demos.jquerymobile.com/1.4.5/icons/

and much more
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Soren SDF » 16 Nov 2018 11:08

Hi Jorge.
My problem is not really that i want custom icons, but rather that i don't understand how to access all the icons in the ui-icons .png file.
For instance the icon that kinda displays the head and shoulders of a man there in the middle. How could i use that in one of my buttons.
There's no drop down item for it in the prop editor.
T.I.A.
Soren
Soren SDF
 
Posts: 87
Joined: 19 Apr 2013 15:56

by Alexander Bulei » 19 Nov 2018 17:49

Hi Soren SDF,

My problem is not really that i want custom icons, but rather that i don't understand how to access all the icons in the ui-icons .png file.
For instance the icon that kinda displays the head and shoulders of a man there in the middle. How could i use that in one of my buttons.
There's no drop down item for it in the prop editor.
T.I.A.


You must check the available icons in dropdown (Icon property).

Also, you can see the icons of jquery 1.3.2 here: http://demos.jquerymobile.com/1.3.2/widgets/icons/

If you want the custom icon, you must use the CustomIcon property (css class) , and load the custom css file with css rules for icon.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by cyracks » 19 Nov 2018 19:55

Soren SDF this topic may also be helpful: viewtopic.php?f=32&t=3694

Regards,
Tomaž
cyracks
 
Posts: 92
Joined: 09 Feb 2016 12:47


Return to General

cron

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.