Hi Andy,

Andy Fuchs wrote:
> Hi friends,
> 
> after studying the qooxdoo-sources things look a little clearer now (but
> only a little), I'm still unsure what's the best way to start changing the
> visual representation of a qooxdoo-application. (We're not HTML-/JS-Folks
> here, so we need a closer look).
That's depending on what you like to change. If you "only" want to 
change the appearance of the widgets you can sublcass a meta theme and 
the themes you need to alter.
-> http://qooxdoo.org/documentation/0.8/ui_custom_themes

If you also want to change the graphics on which the widgets (to be more 
precise: the decorators of the widgets) are based on you have to change 
the images themselves.

> While setting up images and themes works now (somewhat - I'm still not sure
> what I'm doing ;-)), I can't find a way to change a table to my desire (I.e.
> line-colors, etc...). What I CAN do is, changing the graphics, fonts, sizes,
> etc... But I couldn't find a way to change line-colors, border-padding,
> etc...
Unfortunalety the cells of the table are not full-blown qooxdoo widgets 
which can be entirely controlled by the appearance theme. However, you 
can control the colors of the table widget by subclass the existing 
color theme (qx.theme.modern.Color) and simply change the table colors 
to your needs.

> Maybe someone wants to take a look at this:
> 
> <http://dl.getdropbox.com/u/175544/Andy_01_demoout.jpg>
> 
> Is that possible just using themes?
I think you can achieve this by using themes *and* of course the images 
(e.g. for the rounded borders)

> Or where do I start, without running into the risk, that a qooxdoo-update
> will break the stuff?
If you only subclass existing theme classes things won't break.

cheers,
   Alex

> On 20.01.09 23:49, "Roman Schmid" <mail...@banal.ch> wrote:
> 
>> thr...@users.sourceforge.net wrote:
>>>> Hi Thomas, Andy
>>>>
>>>> I'd be interested to learn more about this topic as well (a wiki entry
>>>> would be great). I already had a look at the images in the source folder
>>>> and the "clipped" image parts. My missing link is: How does the compiler
>>>> know how big the different parts have to be (eg. width of the border,
>>>> etc.)?
>>> I might come up with a longer answer tomorrow, but for the rest of the
>>> night this link should quench the initial thirst (Is anybody looking into
>>> the manual, eh?!):
>>> http://qooxdoo.org/documentation/0.8/image_clipping_and_combining
>> Ahh. Thanks, this helps. Now i remember that i saw this documentation
>> already. But i only looked in the "theming" sections of the manual
>> lately and not "Others" :)
>>
>>>> The API states something about "image meta data":
>>>> http://demo.qooxdoo.org/current/apiviewer/#qx.ui.decoration.Grid
>>>>
>>>> But i couldn't find any image meta data (at least not while looking at
>>>> the metadata of the images in the source folder).
>>> I don't know which source folder you are referring to, but just run a
>>> quick search over the framework, looking for files ending in .meta. But
>>> these meta files only describe combined images (which images are in them,
>>> at which offset).
>>>
>>> Thomas
>> Ah. Silly me. I was browsing the
>> framework/source/resource/source/Modern
>> Folder. There, the files aren't clipped/sliced and i thought the
>> meta-data was somehow stored as "real" image-metadata (eg. EXIF Tags or
>> similar).
>>
>> Thanks for the information.
>>
>> Roman

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to