Hello list,
which is the best (correct) way to add the QX icon path to an application?
Assuming you want add icons in this way:
var btn1 = new qx.ui.form.Button("Status",
"icon/22/apps/internet-web-browser.png");In the documentation I can find: http://qooxdoo.org/documentation/1.0/ui_theming?s=tango /** * Tango icons */ qx.Theme.define("qx.theme.icon.Tango", { resource : "qx/icon/Tango", icons : {} }); I have added #asset(qx/icon/*) in the application.js and all Icons are available. In some Posts I saw that you have to add in the config.json the Icon path and Theme: "jobs" : { "common" : { ... "themes" : { "qx.icontheme" : ["Tango"], "qx.theme" : ["Modern"] } ... } } and then in; Application.js #asset(icon/${qx.icontheme}/16/apps/utilities-dictionary.png) #asset(icon/${qx.icontheme}/22/apps/utilities-dictionary.png) Which is the best way to do this? best regards Hansjoerg -- View this message in context: http://old.nabble.com/Icon-Paths---tp27824543p27824543.html Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
