Re: Add a new button in the toolbar

2014-05-16 Thread Wesley Hardman
The file should be 18x18, and the image should be 16x16 (1px of transparent around it). On 2014-05-16 10:20, Dragomir Goranov wrote: > Thanks, Wesley, that worked great! > Now my button is a little bigger than the other buttons in the toolbar... How > can I see what size exactly should be my but

Re: Add a new button in the toolbar

2014-05-16 Thread Dragomir Goranov
Thanks, Wesley, that worked great! Now my button is a little bigger than the other buttons in the toolbar... How can I see what size exactly should be my button in pixels, so that it is the same as the home-button ? On Friday, May 16, 2014 4:08:09 PM UTC+3, Wesley Hardman wrote: > I assume you

Re: Add a new button in the toolbar

2014-05-16 Thread Wesley Hardman
I assume you added your gamesjoystick.png to \browser\themes\windows\. You will also need to add "skin/classic/browser/gamesjoystick.png" to \browser\themes\windows\jar.mn for the file to be included in the build. You can test to see if the file exists and your path is correct by loading the

Add a new button in the toolbar

2014-05-16 Thread Dragomir Goranov
I am trying to add a new button in the toolbar. I managed to accomplish this by modifying the file "\browser\base\content\browser.xul". I added these lines: Everything is perfect, except the fact that there is no image for the button, so I edited this file: "\browser\themes\windows\browser.