Hi qooxdoo-devels, I first filed this as a bug:
http://bugzilla.qooxdoo.org/show_bug.cgi?id=2897 but I've been thinking a bit more about this and am now a bit unsure if this is really the case, so I hope someone here could shed some light on this and tell me if this is the way it should work... so that I'm able to properly apologize for my false alert, if it's necessary ;-) The thing is that if I add a move effect to a window the shadow isn't moved accordingly, which in my opinion it should. A little workaround is to just do window.setShadow(null), but this feels like some kind of hack to me and I don't really like it that way. Here's some playground code, just click minimize on the window: var win = new qx.ui.window.Window("First Window"); win.setWidth(300); win.setHeight(200); win.setShowClose(false); win.setShowMaximize(false); win.addListener("beforeMinimize", function(e){ e.preventDefault(); var move = new qx.fx.effect.core.Move(e.getTarget().getContentElement().getDomElement()); move.set({x : 200, y : 200, transition : "linear", mode : "absolute", duration : 1}); move.start(); }); this.getRoot().add(win, {left:20, top:20}); win.open(); I probably don't know enough about the DOM but I think the window and the shadow are likely to be different DOM elements and therefore the shadow isn't moved, so the effect is working kind of correct, because I only apply it to the DOM element of the window... Is there any nice way to move them together? Would be nice, if someone could share his opinion with me. Best regards Dominik ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
