Hi!
I tried to customise the Modern theme a bit, but I got stuck pretty
quickly. I googled for possible solutions, but the only posts I could
find regarding the topic were not very helpful. Basically, I do not
want to write my own theme, but only change the window caption-bar
decorations of the Modern theme.
The problem I am experiencing is very straighforward:
'captionbar-active.png' cannot be found. I tried to insert 'aliases'
and I played around with '#asset', but whatever values I choose, I
only succeed in breaking the Modern theme completely, or the Modern
theme stays intact and my PNG is still not displayed.
It seems to me that the path to my picture cannot be resolved
correctly. If I put the path to any picture of the modern theme in my
code, then it works. If I try to use my path, it does not work.
I use the code snippet below:
qx.Theme.define("gazebo.theme.Decoration",
{
extend : qx.theme.modern.Decoration,
decorations :
{
"window-captionbar-active" :
{
decorator : qx.ui.decoration.Grid,
style : {
baseImage : "gazebo/decoration/captionbar-active.png"
}
}
});
It would be great if someone could point out the surely trivial
mistake that I am making.
Thanks,
Joachim
------------------------------------------------------------------------------
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