Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] using images from Platform



On Fri, Jun 12, 2020 at 11:37 PM Mickael Istria <mistria@xxxxxxxxxx> wrote:
Hi Gayan,

I would suggest you simply use the magnifier emoji (🔍) in the label. It's provided by the system, consistent with other apps, scales well... 
Cheers

On Fri, Jun 12, 2020 at 6:59 PM Gayan Perera <gayanper@xxxxxxxxx> wrote:
Hi All,


If you can use emoji ⌛ should be good.
 
I have few questions:
- How i can reuse icons from the platform ? 

platform:/plugin/plugin-name/package-containing-icon/iconname.png is the url you can use
 
- And Is there a hour glass icon already in platform which i can use in my plugin ?

I'm not aware of such.
 
- If i'm adding my own icons can i add svg ? How to load them as Images ?

SWT supports SVG (IMAGE_SVG ) since 4.14  like any other image format but only on GTK [1]. It would be nice if implementations for Mac/Win are added but these are not there yet.


Hope that helps
 

Br.
Gayan.
_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev


--
Mickael Istria
Eclipse IDE developer, for Red Hat Developers
_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev


--
Alexander Kurtakov
Red Hat Eclipse Team

Back to the top