[Users] Error "Is not a constructor"

Andreas Hocevar ahocevar at opengeo.org
Fri Feb 17 10:29:02 CET 2012


If you specify "Zoom_in" as iconCls, you will need something like the
following in your application's css:

.x-btn .Zoom_in {
    background-image: url(path/too/zoomin.png);
}

Hope this helps.
Andreas.


2012/2/17 Francesc Cañas <kikocanas at gmail.com>:
> Right!
> I've been using and old version. I've changed it and it works.
> Thanks!!!
>
> But I have another issue now, i want to display and icon instead of text in
> the tool bar. So I have a css with the path of the images and I put in the
> code:
>
> iconCls: "Zoom_in",
>
> where IconCls is the name of the Css and Zoom_in the  tag of the image. But
> it doesn't work... How I have to do it?
>
> Thanks a lot
> --
> http://kikocanas.blogspot.com
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Users mailing list