Hello,
I want add an Icon to an Button. My code look like:
var oSelectButton = new sap.ui.commons.Button({
text : "Select Scanner",
tooltip : "This is a test tooltip",
icon : "images/save-icon.gif",
width : "100px",
height : "100px",
press : function() { oShell.setContent(seite2); }
});
Unfortunately the Icon is not displayed and on the Java Script Console I get an 404 Error.
I suppose the Standard SAP Icons are included in the SAPUI5 Framework, so I don't have them in my project. How to reference them correctly?
Best Regards
Sebastian Lenk