Hi allIs it correct that the following code DOES NOT provide the wished for grafical effect of shifting the background image:
var element = new qx.ui.container.Composite(new qx.ui.layout.Basic()); var decorator= new qx.ui.decoration.Background().set({ backgroundImage : '00.png', backgroundRepeat: 'no-repeat', backgroundPositionX: 0 }); element.setDecorator(decorator); //later we call element.getDecorator().setBackgroundPositionX(10); whereas the following code DOES shift the background image: var newDecorator= new qx.ui.decoration.Background().set({ backgroundImage : '00.png', backgroundRepeat: 'no-repeat', backgroundPositionX: 10 }); element.setDecorator(newDecorator); Is the latter one the preferred method or did I overlook something? Thxs, Werner
<<attachment: werner.vcf>>
------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel