cancel
Showing results for 
Search instead for 
Did you mean: 

Icons in Desktop Applications?

Former Member
0 Kudos

Hi guys,

I have a problem using icons in desktop applications... to put it easy, I have no idea where to start.

For example, right now I try to add an icon to the Shell. I know that a need an URL in the format sap.ui.core.URI, but where do I get the information from?

Any help is appreciated.

Accepted Solutions (0)

Answers (1)

Answers (1)

ChandraMahajan
Active Contributor
0 Kudos

Hi,

You can have images folder in your eclipse workspace sapui5 project and then just provide the relative path of the image or icon.

as displayed below, I am setting appIcon.

Here I have my image under eclipse workspace folder.

I hope this will solve your problem.

Regards,

Chandra

Former Member
0 Kudos

Thanks for the information, but unfortunately, this doesn't really solve my problem, because my goal was to use the SAPUI5 icons. You showed me how to embed my own pictures, but if you use a lot of icons in you applications, it can get really annoying to upload all the icons to the project folder every time.

I'm talking about this icons:

https://sapui5.netweaver.ondemand.com/sdk/#test-resources/sap/ui/core/Icon.html

How can I use them in my application, like assigning one of these icons to the shell or to a button?

Former Member
0 Kudos

the SAPUI5 icons are based on a font, which is rather smart since you can modify colors with CSS for example.  You can see some good discussion here on the topic:  http://scn.sap.com/thread/3369327

Former Member
0 Kudos

It is really working