Skip to Content
0

Can we use Personas' icons as picture in a Flavor?

Mar 22 at 10:07 AM

43

avatar image

Hi,

Personas provides us a lot of standards icons when using script buttons. I like these icons so i want to use some of them as picture next to labels of my flavor !

Strangely, there seems to be no function in personas which can just add simply an icon on the flavor.

  • The workaround i have found is to create a script button, add the wanted icon and make the background of the button transparent.

Result is ok :

BUT, when my mouse goes over the icon i have this :

I can set the enabled button's property to false but then the icon is grey tinted :

=> UGLY

Does someone have a good solution for this situation please?

If there is no valid option, Personas' dev team should definitely add this feature.

PERSONAS 3.0 SP5

Regards,

35fcl.png (933 B)
nkzp5.png (618 B)
dui49.png (827 B)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Thomas Mangler Mar 27 at 07:07 AM
1

Hi Alexandre,

try it like this:

> extract the icon from your browser. With the Chrome DevTools (Elements Tab) you can get the url.
> type this url in your Browser (server:port/url) and save the png file (right click).
> upload the png file to Screen Personas and use it


personas-icon.png (65.1 kB)
Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Thomas,

Thanks a lot for your answer and your time. I already knew how to copy the icon and import it as picture in PERSONAS but it is not the thing i try to achieve. In a perfect world, I don't want to upload pictures when SAP already has the picture that i want even if it's an icon...Sadly, even by playing with advanced properties of the script button in which the icon is displayed, i couldn't find any solution to cancel the mouse modification in the "over event" AND at the same time, keep the icon displayed normally (pictures in my first message). Maybe I've missed something but i don't have more time to spend on this.

I'm closing the thread as i didn't found any solution to my problem.

0
Tamas Hoznek
Mar 22 at 06:14 PM
0

An icon is an icon and not an image... icons can only be assigned to buttons.

With that said, you should be able to set the display properties of the button so the disabled properties match the enabled ones. Look at the Advanced Properties window for the button.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Tamas,

Thanks for your answer. In theory, i would agree with you, in practice, to make screen looking better, we have to put there and there some pictures corresponding to a block of datas on the screen (makes the screen friendlier). When sap provides icons which match perfectly a group of datas on the screen, i don't want to reinvent the wheel and use these icons as...picture :)

=> You tell me it's not possible to insert icon as picture, ok i'll do with that.

So I'll try the other properties in advanced mode and try to find my way. I'll close the thread when i'm sure i can/can't do it.

Have a good day.

0