[Users] Getting navigation history images displayed in a toolbar.
Phil Scadden
p.scadden at gns.cri.nz
Thu Aug 26 06:44:45 CEST 2010
> Hi. You need to set iconCls in the Actions and have CSS for your icon
> classes. See the API doc of Ext.Button, it should be documented there.
>
Hmm. In the OL css, we have several classes:
.olControlNavigationHistory {
background-image: url("img/navigation_history.png");
background-repeat: no-repeat;
width: 24px;
height: 24px;
}
.olControlNavigationHistoryPreviousItemActive {
background-position: 0px 0px;
}
.olControlNavigationHistoryPreviousItemInactive {
background-position: 0px -24px;
}
.olControlNavigationHistoryNextItemActive {
background-position: -24px 0px;
}
.olControlNavigationHistoryNextItemInactive {
background-position: -24px -24px;
}
Assume I set iconCls to say 'toolbarNavPrev' for the previous action,
then I have trouble
creating an entry in my css for .toolbarNavPrev that covers both active
and inactive. I assume this isnt possible?
--
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.
More information about the Users
mailing list