PDA

View Full Version : Icons are missing



MartinElkjaer
22 Jan 2009, 2:43 AM
Hi,

I'm trying to show the add-icon on a button, but it seems that the icons.gif is missing in the /images folder - why ?


toolBarEdit.add(new TextToolItem("Add", "icon-add"));

In my stylesheet I see:


.icon-add {
background:transparent url(images/icons/add.gif) no-repeat scroll left center !important;
}




Best regards,

Martin

gslender
22 Jan 2009, 2:50 AM
what makes you think icons would be there? which icons?

EagleEye666666
22 Jan 2009, 5:14 AM
Hi,

I'm trying to show the add-icon on a button, but it seems that the icons.gif is missing in the /images folder - why ?


toolBarEdit.add(new TextToolItem("Add", "icon-add"));

In my stylesheet I see:


.icon-add {
background:transparent url(images/icons/add.gif) no-repeat scroll left center !important;
}




Best regards,

Martin

lol when taking just code out of the examples it can not work.

Check src code of the examples...

btw. the icons which GXT is using are free-available... under: http://www.famfamfam.com/

You have to take care of that by urself.

regards