Hi,

First of all, for as far I can deduce from the documentation and the 
code using em values in qooxdoo themes is impossible. I know that.

What I want to do is develop a theme (for our company) that is based on 
a base font size (say 14 px) and base all other styling on on that (like 
em values). More theory on this you can read here: 
http://www.vanseodesign.com/css/em-px/.


But are there alternative methods for using a similar system in qooxdoo 
theming?

What I have tried so far is using a global variable holding a base font 
size defined in Application class, but the theme is loaded before the 
Application class and the variable is not available for the Theme yet. 
So that's a bust.

Also a second idea would be to define it in the theme somehow, but it 
does not allow for custom keys/properties.
Another would be to define the global variable in the index.html file, 
but that is kind of messy and hurts the maintainability of the Theme.

Any smart/insightful ideas?

kind regards,

Sanne
kind regards,

Sanne

------------------------------------------------------------------------------
Slashdot TV.  Videos for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to