I want to get navigation history icons displayed in a quite complex
toolbar. I am doing this with:
var nav = new OpenLayers.Control.NavigationHistory();
var action1 = new GeoExt.Action({
text: "previous",
control: nav.previous,
disabled: true
});
var action2 = new GeoExt.Action({
text: "next",
control: nav.next,
disabled: true
});
var mapTBar = new Ext.Toolbar({
defaults: {
scale: 'medium',
iconAlign:'top'
},
items: [
{
xtype: 'buttongroup',
title: 'Navigation',
defaults: {
scale: 'medium',
iconAlign:'top'
},
items: [panZoomButton,action1,action2]
etc.
The problem is that I only see text, not the default icons (which are in
theme/default/img directory. - the OL navigationhistory examples work
fine if I save the source and run it from same place). It seems I need
to override an ext stylesheet somewhere but where?
--
Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St,
Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232
Notice: This email and any attachments are confidential. If received in error
please destroy and immediately notify us. Do not copy or disclose the contents.
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users