Gaetan de Menten schrieb:
> Hi again,
>
> I see there is a lot of repetition in decorations. For example, the
> "input-focused" and "input-disabled" decorations only differ from the
> "input" decoration for a few keys each. It would certainly make
> decorations declarations shorter to have some kind of inheritance
> system in place.
>
> Does something like this already exist for decorations? If so, why
> isn't it used? Is it a run-time lookup (which would slow things down
> obviously but make the JS files shorter to download), or is it a
> compile-time expansion? Is such a system planned?
>   
There is no inheritance of individual decorations in a theme. We just 
did not see the need for it yet and it is not on our roadmap. Personally 
I am reluctant to add just another level of complexity to the theming 
system. I would rather live with some repetition in the decoration theme.

Best Fabian



-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Oliver Mauss, Achim 
Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to