I want to have an icon in my DateField in the Qooxdoo framework.
How do I specify the icon set to use?
This is my config file. As you can see I want to use the default theme.
"let" :
{
"APPLICATION" : "myapp02",
"QOOXDOO_PATH" : "../qooxdoo-2.1.1-sdk",
"QXTHEME" : "qx.theme.Modern",
"API_EXCLUDE" : ["qx.test.*", "${APPLICATION}.theme.*", "${APPLICATION}.test.*", "${APPLICATION}.simulation.*"],
"LOCALES" : [ "en" ],
"CACHE" : "${TMPDIR}/qx${QOOXDOO_VERSION}/cache",
"ROOT" : "."
},
But it doesn't use any icons in the DateField. Instead it simply display the date and the right part of the DateField (where you're suppose to click to get the full calendar) is empty.
I also tried to use:
"QXTHEME" : "myapp02.theme.Theme",
And this is my Theme.js file:
qx.Theme.define("myapp02.theme.Theme",
{
meta :
{
color : myapp02.theme.Color,
decoration : myapp02.theme.Decoration,
font : myapp02.theme.Font,
icon : qx.theme.icon.Tango,
appearance : myapp02.theme.Appearance
}
});
But to no avail. (still no icons in the DateField)
I placed a similar question here: https://stackoverflow.com/questions/16310728/how-do-i-place-a-label-on-the-datefield.
So to reiterate, how do I use an icon set Tango or Oxygen to place an icon in my DateField like in this tutorial: http://demo.qooxdoo.org/2.1.1/demobrowser/#widget~DateField.html?
Thanks