[Project_owners] Firefox resize icon in toolbar

Didier Ernotte didier at ernotte.com
Fri Jan 14 11:15:34 EST 2005


If I look at the browser.css file I can see:

#back-button {
  -moz-image-region: rect(0px 32px 32px 0px);
}

toolbar[iconsize="small"] #back-button {
  -moz-image-region: rect(0px 24px 24px 0px);
}

So, I guess that the two size value are 24x24 and 32x32.

Didier

--- Ben Goodman <goodben at gmail.com> wrote:

> 32x32 is too large for the larger icon size. It will change the size
> of 
> the toolbar. And you can go a little larger on the small size. I used
> 
> 20x20 and 24x24. I'm not sure what the official sizes are, but those 
> worked for me.
> 
> Ben Goodman
> 
> 
> Didier Ernotte wrote:
> 
> >Hi,
> >
> >I have added a toolbarbutton in the toolbarpalette of firefox in my
> >extension's overlay, but I have a problem with the size of the icon.
> >There is a checkbox in the toolbar/customize dialog that controls
> the
> >size of the icons (maybe 16x16 and 32x32) and I want to be notified
> >when the size is changed. Any one knows how to do that ? I have
> noticed
> >in firefox source that a "iconsize" attribute in defined with the
> >"small" value. Do I have to add a broadcaster to observe this
> attribute
> >?
> >Thanks
> >
> >Didier
> >
> >
> >
> >		
> >__________________________________ 
> >Do you Yahoo!? 
> >Yahoo! Mail - now with 250MB free storage. Learn more.
> >http://info.mail.yahoo.com/mail_250
> >_______________________________________________
> >Project_owners mailing list
> >Project_owners at mozdev.org
> >http://mozdev.org/mailman/listinfo/project_owners
> >
> >  
> >
> 
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> http://mozdev.org/mailman/listinfo/project_owners
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250


More information about the Project_owners mailing list