Re: [qooxdoo-devel] MResizer

2007-05-10 Thread Dietrich Streifert
dperez schrieb: Hi Dietrich, It could also be done by attaching an event to the change value of properties width and height. With qooxdoo 0.6.x an event could be attached to any property. I think this properties aren't tagged as "eventable". Yes but the benefit would be to have one event

Re: [qooxdoo-devel] MResizer

2007-05-10 Thread dperez
Hi Dietrich, It could also be done by attaching an event to the change value of properties width and height. With qooxdoo 0.6.x an event could be attached to any property. I think this properties aren't tagged as "eventable". Dietrich Streifert wrote: > >> would it be possible to have MResize

Re: [qooxdoo-devel] MResizer

2007-05-09 Thread Dietrich Streifert
Dietrich Streifert schrieb: Hi David, would it be possible to have MResizer fire resize events? I'm thinking of being able to write code like: myWindow = addEventListener('resize', function(e) { this should be: myWindow.addEventListener (.) of course ;-) var data = e.getData();

Re: [qooxdoo-devel] MResizer

2007-05-09 Thread Dietrich Streifert
Hi David, would it be possible to have MResizer fire resize events? I'm thinking of being able to write code like: myWindow = addEventListener('resize', function(e) { var data = e.getData(); alert('old width: ' + data.oldWidth); alert('new width: ' + data.newWidth); alert('old h

Re: [qooxdoo-devel] MResizer

2007-05-09 Thread Sebastian Werner
dperez schrieb: > Hi, > 1) Do I open a bug? This is fixed in trunk. :) Sebastian > 2) Solved! > > > Sebastian Werner wrote: >> dperez schrieb: >>> Small issues I'm having: >>> >>> 1) window.setResizeable() call fails. Look at the sample Window_1.html >> sorry, have other things currently. Ma

Re: [qooxdoo-devel] MResizer

2007-05-09 Thread Sebastian Werner
dperez schrieb: > Hi, > 1) Do I open a bug? yes please open a bug. > 2) Solved! Great. > > > Sebastian Werner wrote: >> dperez schrieb: >>> Small issues I'm having: >>> >>> 1) window.setResizeable() call fails. Look at the sample Window_1.html >> sorry, have other things currently. Maybe in

Re: [qooxdoo-devel] MResizer

2007-05-09 Thread dperez
Hi, 1) Do I open a bug? 2) Solved! Sebastian Werner wrote: > > dperez schrieb: >> Small issues I'm having: >> >> 1) window.setResizeable() call fails. Look at the sample Window_1.html > > sorry, have other things currently. Maybe in some days. > > >> 2) look at comming 7778 in MResizer.js

Re: [qooxdoo-devel] MResizer

2007-05-09 Thread Sebastian Werner
dperez schrieb: > Small issues I'm having: > > 1) window.setResizeable() call fails. Look at the sample Window_1.html sorry, have other things currently. Maybe in some days. > 2) look at comming 7778 in MResizer.js, I've had to undo your changes. My changes are completely OK, but you must plac

Re: [qooxdoo-devel] MResizer

2007-05-09 Thread dperez
Small issues I'm having: 1) window.setResizeable() call fails. Look at the sample Window_1.html 2) look at comming 7778 in MResizer.js, I've had to undo your changes. Now the window class doesn't have so many responsabilities. All the code in the events in MResizer.js has been taken from lates

Re: [qooxdoo-devel] MResizer

2007-05-09 Thread Sebastian Werner
Sounds like a good idea. This even cleans up the Window class a bit more. Are you really sure you have not forget any of the changes that have been made in Window.js? This is really important. Please double check the methods. Can you please correct all your event listener methods to use protect

[qooxdoo-devel] MResizer

2007-05-09 Thread dperez
Hi, This is my 1st mixin: New mixin MResizer, that unifies the resizing behavior of Window and Resizer. I've checked it works. Sebastian, if you like, I will comment it a little more. Regards, David -- View this message in context: http://www.nabble.com/MResizer-tf3716300.html#a10396150 Sent