Author Topic: How to Add Button Icon in Plugin?  (Read 4463 times)

Offline aldspamacct

  • Newbie
  • *
  • Posts: 8
How to Add Button Icon in Plugin?
« on: April 27, 2013, 02:19:02 PM »
Greetings,

I'm trying to learn/understand how one adds an icon to a Plugin Button.  I've installed a few 3rd party plugins and some have an icon, others don't.  I've spent some time looking through the source but an not seeing where one would include an icon next to the button text.  Would someone be kind enough to point me in the write direction?

Thank you all!

td

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: How to Add Button Icon in Plugin?
« Reply #1 on: April 27, 2013, 05:15:33 PM »
Well first of all where do you want to add the button?

Offline aldspamacct

  • Newbie
  • *
  • Posts: 8
Re: How to Add Button Icon in Plugin?
« Reply #2 on: April 27, 2013, 06:34:32 PM »
I would like to start with Preferences->Section, that is the right Panel.  But I would have the same question if adding one to the left Panel.  Other than this primer (http://trac.roundcube.net/wiki/Doc_Plugins) to writing a plugin, are there any other resources, tutorials on the subject?  This information simply covers the bare basics.

Thank you

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: How to Add Button Icon in Plugin?
« Reply #3 on: April 29, 2013, 04:52:38 PM »
The icons for those spots are add/changed via css.