Hi Frank,

a static util class could help you out. This function can also used inside the 
theme classes.

Gruß
Mustafa Sak

Applications & Integration

1&1 Internet AG
Ernst-Frey-Straße 10
DE-76135 Karlsruhe

Von: franck34 [mailto:[email protected]]
Gesendet: Freitag, 26. Juli 2013 17:03
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] setWidth/setHeight but not in pixel ?

Hi Mustafa,

That's exactly what i'm testing ;)

thanks

franck



2013/7/26 Mustafa Sak <[email protected]<mailto:[email protected]>>
Hi Frank,

what about using a helper function which computes any unit into pixels? Please 
take care about dpi resolutions, which are differs from OS to OS.

Here is a nice converter, just do the same ;) 
http://www.unitconversion.org/unit_converter/typography.html

Gruß
Mustafa Sak

Applications & Integration

1&1 Internet AG
Ernst-Frey-Straße 10
DE-76135 Karlsruhe

Von: franck34 [mailto:[email protected]<mailto:[email protected]>]
Gesendet: Freitag, 26. Juli 2013 12:37
An: qooxdoo Development
Betreff: [qooxdoo-devel] setWidth/setHeight but not in pixel ?


Hi,

setWidth/setHeight only allow integer or percent (sometimes).

I need to play with centimeters rater than pixels or percent, do you think it 
is feasible ?

thanks

Franck

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to