I've been working on creating a few additional shadow decorators for use with
form fields. I just want to add a few colors for validation. I took the
existing shadow files for the Modern theme (shadow-b, shadow-bl, etc...) and
created colored versions. I then added:
"highlight-red" :
{
decorator : qx.ui.decoration.Grid,
style : {
baseImage :
"resource/project/decoration/highlight-red/highlight-red.png",
insets : [ 8, 8, 8, 8 ]
}
}
to my project.theme.Decoration file and placed the shadow image files in the
appropriate place. (Apache and Firefox logs both show the files as being
loaded.) When I try to apply the decorator, I get the following warning in
my qx log:
ImageLoader: Not recognized format of external image
'resource/project/decoration/highlight-red/highlight-red-t.png'
This happens for all the images.
Loading the images directly in Firefox works fine, and if I replace the
standard gray shadow images in the SDK, I do get a the red shadow. The error
message doesn't make any sense to me, since the images are PNG formatted and
work fine everywhere else I use them. Does anyone have some insight on what
could be going on here?
Thanks,
-Dan
--
View this message in context:
http://www.nabble.com/Problems-creating-a-new-Shadow-decorator.-tp22994206p22994206.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel