Hi Vincent,
I haven't tried my self, but if I really understood it, than you are on
the right way. You need the build tool to split the image. The wiki
contains a documentation about clipping images [1]. You can also have a
look to the "image.json" file from the framework, it contains all image
jobs.
To theme your TabView you need this steps:
* Override the TabView decoration and set your own image.
e.q.baseImage: "myapp/decoration/example.png"
* Add the #asset("myapp/decoration/example.png") statement to the
top of your decoration file
* Configure a image clipping job to split the image to
"example-t.png", etc
* Run the image clipping jon and then the build/source job
I hope this will solve your problem.
Cheers,
Chris
[1]
http://qooxdoo.org/documentation/0.8/image_clipping_and_combining#image_clipping
Vincent Bernardi schrieb:
> Hi everyone,
> I am currently trying to theme my application. More precisely, I am
> trying to change the way tabviews are displayed. The "tabview/pane"
> selector is linked in the modern theme to a qx.ui.decoration.Grid
> decorator.
>
> This decorator seems to take a baseImage "example.png" and to cut it
> into 9 pieces to copy/paste repeatedly to generate the somewhat
> intricate border of the TabView. The pieces are then named example-
> tl.png, example-t.png, etc
> I can't seem to understand at what point my pieces are supposed to be
> generated. Whenever I load my tabview in Firefox I get the message
> "ImageLoader: Not recognized format of external image 'editor/theme/
> tabview-pane-tr.png' which I guessed mean it hasn't found the image
> (there's a corresponding 404 for each).
> It looks like my pieces should have been generated by the build tool
> but they haven't been, and that without an error message in the build
> process. I tried to adjust my #asset directive but to no avail.
>
> Anyone care to explain me how it should work?
>
> Thanks in advance,
> V.
>
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
--
Christian Schmidt
Software Engineer
Core Development :: Web Technologies
1&1 Internet AG
Ernst-Frey-Str. 9
76135 Karlsruhe, Germany
http://www.1und1.de
Amtsgericht Montabaur / HRB 6484
Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas
Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver
Mauss, Jan Oetjen
Aufsichtsratsvorsitzender: Michael Scheeren
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel