Hi devs, Here's an example of what I've been playing with the last 3 nights (took a break after the FlowLayout effort, to let qx things seep into my brain a bit): http://toolbox2.dihedrals.com/
I've bumbled around with Themes a bit and managed to get a basic start on creating a sub-classed qx Window that comes close-ish to doing what I will need if/when we migrate to qooxdoo. This demo works well in: Firefox 2 & 3, IE 7 and Opera 9.5 (win xp). Safari (3.1 & Nightly Build) moves the window down+right every time the drag bar is selected (easiest to see this just by doing a couple of single clicks on the drag bar without moving the Toolbox). IE 6 anchors the Toolbox window to the top/left and refuses to move it at all (not too bothered about this, as we only target current browsers, which would mean IE 8 by the time we released any code based on qx). All is quite happy as long as the browser's scroll bars are positioned at the top/left. As soon as the scroll-bars are moved, the 'MoveFrame' tends to be offset by the scrolled amount during a drag operation. FF 2 & Safari wind up with the Toolbox window in the correct place when the drag operation ends (apart from Safari moving the Toolbox a handful of pixels down/right as mentioned above). FF 3, IE 7 and Opera all cause the Toolbox to jump equal to the amount the page has been scrolled. It looks like the code controlling the drag op is all located in 'MMovable' and it seems fairly straight-forward (your code is super clean, just can be a bit tricky to follow mouse-drags/moves...). As our entire app would be based upon such a qx 'Toolbox' Window, and would be injected into a wide variety of normal html pages, we'd need to be able to get a grip on using the Window in some manner like this. What do you think? Can anyone else imagine using qx in this manner too? I think ideally all these browsers should at least come close to doing the same thing. What do you think? Can anyone else imagine using qx in this manner too? Cheers, -Chris PS. Using the MoveFrame as dragging the window directly caused issues with the scrollbars. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
