» Forums
» NavBar
» Bug reports
» Changing icons size
Changing icons size
2005/03/10 12:18
Viewed 13056 times
Replies: 1/2

Hi!
I'm trying to change the icons size, with:

menu.prefs["icon-width"] = 32;
menu.prefs["icon-height"] = 32;

Before of menu.generate();

But it seems to have no effect. Is there a bug here?

Re: Changing icons size
2005/03/10 12:40
Viewed 17278 times
Replies: 1/1

These may also be defined in the CSS file. For example, look into navbar/navbar.css file and search for '.image' or '.img'--note that some define width and/or height. Same problem might apply to the WinXM theme.

It was essential to define the width/height through JavaScript too in order for PNG icons to work properly in Internet Explorer.

last
Re[2]: Changing icons size
2005/06/15 04:42
Viewed 19777 times
Replies: 0/0

I has the same problem, but I set the properties values before call the openMenu() method and all works.

menu.prefs["icon-width"] = 16;
menu.prefs["icon-height"] = 16;
menu.openMenu();

last
Google