I have just checked in a change for solving this problem.

You can transform every mobile widget (including the image), through these 
methods:

setScaleX(1.5)
setScaleY(1.5)
setRotation(45)
setTranslateX(2)
setTranslateY(5)
setTranslateZ(5)


Greetz Christopher


Am 11.10.2012 um 10:57 schrieb Christopher Zündorf:

> Hi Ralf,
> 
> this was not the optimal way to scale. The better way is to use CSS3 scale 
> function. It handles scaling much better, than just setting width and height.
> The transformation looks much clearer.
> 
> Example:
> 
> var exImage = new 
> qx.ui.mobile.basic.Image("mobileshowcase/icon/arrowleft.png");
> var containerElement = exImage.getContainerElement();
> var transformPropertyName = qx.bom.Style.getPropertyName("transform");
> qx.bom.element.Style.set(containerElement,transformPropertyName,"scale(0.25,1.25)");
> 
> Greetz Christopher
> 
> 
> Am 17.09.2012 um 16:21 schrieb Christopher Zündorf:
> 
>> qx.bom.element.Style.set(target,"width","300px");
>> qx.bom.element.Style.set(target,"height","auto");
> 
> 
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to