Re: [qooxdoo-devel] Automatic resize of TextField within CanvasLayout in qx 0.7

2007-05-30 Thread Dietrich Streifert
Yep! That solved the problem! Thank you Sebastian. I needed this for my file upload widget implementation. If you or someone else of the core wizards have some time you may have a look at the upload widget: http://bugzilla.qooxdoo.org/show_bug.cgi?id=449 It would be nice to have this in tru

Re: [qooxdoo-devel] Automatic resize of TextField within CanvasLayout in qx 0.7

2007-05-30 Thread Sebastian Werner
Hi Dietrich, that seems was the missing hint. Finally, with the additional implementation of both _changeInnerWidth and _changeInnerHeight it works well for me. Please check if r8273 works for you, too. So this seems to be no issue of the layouter but my temporary misunderstanding of the syste

Re: [qooxdoo-devel] Automatic resize of TextField within CanvasLayout in qx 0.7

2007-05-29 Thread Dietrich Streifert
Sebastian Werner schrieb: > Looks like you have put your method inside the class declaration and not > inside the members map :) > > Sebastian > Yep. That was my fault grrr. But I found a way to track width changes by implementing the _changeInnerWidth applyer/modifier: _changeInnerWid

Re: [qooxdoo-devel] Automatic resize of TextField within CanvasLayout in qx 0.7

2007-05-29 Thread Sebastian Werner
Looks like you have put your method inside the class declaration and not inside the members map :) Sebastian Dietrich Streifert schrieb: > On my way trying to get the path where the innerWidth of a widget is > changed I'm trying to find the implementation of _recomputeInnerWidth. > > I tried

Re: [qooxdoo-devel] Automatic resize of TextField within CanvasLayout in qx 0.7

2007-05-29 Thread Dietrich Streifert
Sebastian Werner schrieb: BTW: Because of the current layout handling this bug should only affect Gecko based browsers. All others emulate the left/right stretching if I remember correctly. Sebastian Nope, the same problem is present in IE7. Sebastian Werner schrieb: Hi Dietrich,

Re: [qooxdoo-devel] Automatic resize of TextField within CanvasLayout in qx 0.7

2007-05-29 Thread Sebastian Werner
BTW: Because of the current layout handling this bug should only affect Gecko based browsers. All others emulate the left/right stretching if I remember correctly. Sebastian Sebastian Werner schrieb: > Hi Dietrich, > > this is definitely a bug. (I remember that RĂ¼diger or Ralf have reported

Re: [qooxdoo-devel] Automatic resize of TextField within CanvasLayout in qx 0.7

2007-05-29 Thread Sebastian Werner
Hi Dietrich, this is definitely a bug. (I remember that RĂ¼diger or Ralf have reported something comparable some time ago, too.) After some investigation the result is that this is a layout bug. After some time we have found again a bug. Yeah. The bad news is that this isn't fixable in this ver

Re: [qooxdoo-devel] Automatic resize of TextField within CanvasLayout in qx 0.7

2007-05-29 Thread Dietrich Streifert
On my way trying to get the path where the innerWidth of a widget is changed I'm trying to find the implementation of _recomputeInnerWidth. I tried to hook into recomputeInnerWidth through overwriting this method. While trying this I get the followin error: The configuration key "_recomputeInne

[qooxdoo-devel] Automatic resize of TextField within CanvasLayout in qx 0.7

2007-05-29 Thread Dietrich Streifert
Hello List, I have a CanvasLayout which has the following properties set: myCanvasLayout.set({left:20, right:20}); CanvasLayout contains a TextField as a child which has the following properties set: myTextField({left:0, right:49}); When myCanvasLayout gets resized (eg. by resizing the parent