Hi,
First of all, it's weird that your DateField doesn't show an icon. Per Default,
it us set to use the image found at
[your-qooxdoo-folder]/framework/source/resource/qx/icon/Tango/16/apps/office-calendar.png.
Check first if the file is there. If not, I would advice to simply download a
fresh version of the qooxdoo SDK. The SDK contains everything you need, no need
for a seperate installation of themes or anything else.
If you want to customize the DateField and use whatever icon you like, just
overwrite the appearance of "datefield/button". To do so, simply copy the
appearance definition found at line 548 - 561 in qx.theme.modern.Appearance and
paste it to the appearance of your app. Then replace the value for icon with
the icon of your choice which should be placed in the resource folder of your
app.
Hope this helps!
Andreas Parusel
Software Developer
Applications & Integration
1&1 Internet AG
Ernst-Frey-Straße 10
DE-76135 Karlsruhe
Telefon: +49 721 91374-6184
E-Mail: [email protected]<mailto:[email protected]>
Web: www.1und1.de<http://www.1und1.de>
Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Robert Hoffmann,
Andreas Hofmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan
Oetjen, Martin Witt, Christian Würst
Aufsichtsratsvorsitzender: Michael Scheeren
Member of United Internet
Am 03.05.2013 um 18:05 schrieb ivlev jenia
<[email protected]<mailto:[email protected]>>:
Hello everyone.
In addition to what I wrote before ( that theres no icons in the DateField ), I
also tried to install the tango theme in my operating system. I installed it by
doing
apt-get install tango-icon-theme
apt-get install tango-icon-theme-common
Then i recompiled the project with these setting:
qx.Theme.define("myapp02.theme.Theme",
{
meta:
{
color : qx.theme.modern.Color,
decoration : qx.theme.modern.Decoration,
font : qx.theme.modern.Font,
appearance : qx.theme.modern.Appearance,
icon : qx.theme.icon.Tango
}
});
"let" :
{
"APPLICATION" : "myapp02",
"QOOXDOO_PATH" : "../qooxdoo-2.1.1-sdk",
"QXTHEME" : "myapp02.theme.Theme",
"API_EXCLUDE" : ["qx.test.*", "${APPLICATION}.theme.*",
"${APPLICATION}.test.*", "${APPLICATION}.simulation.*"],
"LOCALES" : [ "en" ],
"CACHE" : "${TMPDIR}/qx${QOOXDOO_VERSION}/cache",
"ROOT" : "."
},
But no icons are used (in the DateField widget) as before.
Please help me solve this problem.
Thanks
________________________________
From: ivlev jenia <[email protected]<mailto:[email protected]>>
To:
"[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Sent: Thursday, May 2, 2013 9:39:07 PM
Subject: why is the DateField icon empty in my application?
I want to have an icon in my DateField. I talking about the icon that's on the
right on the DateField widget.
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:
http://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
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel