Hi Alex,
I'm currently including aristo.js by myself, after qx.js. aristo.js is
a file with all the js files of aristo concatenated. I have modified the
theme, and now looks like:
qx.Theme.define("aristo.Aristo",
{
title : "Aristo Theme",
meta :
{
color : aristo.theme.Color,
decoration : aristo.theme.Decoration,
font : aristo.theme.Font,
icon : qx.theme.icon.Oxygen,
appearance : aristo.theme.Appearance
},
aliases : {
decoration : "aristo/decoration"
}
});
The problem is that the decorations are still not working. All the
images that are set at the appearance, works fine. The colors are
correct, the fonts are correct, the icons are correct. however, the
decoration is completly ignored. If I go to the "network" tab of
firefox, there are no 404 errors regarding the decoration images, so it
is not a problem of paths.
If i go to firebug console, the class aristo.theme.Decoration exists,
and have everything correct inside it.
I don't understand why the decoration is completly ignored. Maybe
because the way I load the things? maybe because the order? its really
really strange, because all the things are working, except Decoration.
And the more strange things, is that there is no try to get the
Decoration images.
Thanks.
On Tue, 8 Mar 2011 14:38:48 +0100, Alexander Steitz
<[email protected]> wrote:
> Hi Carlos,
>
>> It works perfectly, it creates a qx.js file. However, recently I
>> have made
>> this little modifications:
>>
>> "settings": {
>> "qx.application": "eyeos.Application",
>> "qx.theme": "aristo.Aristo"
>> },
> If you want to use a different theme you have to include the theme
> class
> manually if you do not extend the qooxdoo default jobs.
> The "base.json" file which is the foundation for all qooxdoo
> skeletons (besides
> the "application.json" file which defines skeleton specific jobs)
> does include
> the main application class and the theme file by
>
> --snip--
> "includes" :
> {
> "include" :
> [
> "${APPLICATION_MAIN_CLASS}",
> "${QXTHEME}"
> ]
> },
> --snip--
>
> If you have to make sure, that these lines are somehow present in
> your
> configuration file.
>
>> And:
>> "libraries" : {
>> "library" : [
>> {
>> "manifest" : "/home/n00b/aristo/Manifest.json"
>> }
>> ]
>> },
>>
>> "manifest" : "/home/n00b/aristo/Manifest.json" is where i have my
>> aristo
>> checkout.
>>
>> However, there is an error in firebug regarding aristo.Aristo can
>> not be
>> found. I tried to manually include the js scripts of aristo inside
>> qx.js,
>> this approach worked, but with missing decorators. The theme was
>> loaded,
>> but the images not.
>>
>> So, what is the correct procedure to tell the python builder to
>> include
>> aristo theme inside my qx.js?
> I guess you ran into a bug in the Aristo theme itself. I managed to
> analyze
> the bug today and already documented this in a bug report.
>
> -> http://bugzilla.qooxdoo.org/show_bug.cgi?id=4523
>
> You can try to add the lines
>
> --snip--
> aliases : {
> decoration : "aristo/decoration"
> },
> --snip--
>
> in the Aristo decoration theme as hotfix. These lines have to
> included in the
> "qx.Theme.define" map.
>
> @Guilherme
> Can you - as the author of the Aristo contribution - confirm that the
> described
> approach is a valid bugfix?
>
> Regards,
> Alex
>
>
> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
--
Jose Carlos Norte
+34 93 181 30 39
+34 635 997 078
Departamento técnico
eyeOS
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel