Hi,
Thanks for your response.
On 13 janv. 06, at 17:37, Arjan van IJzendoorn wrote:
>> I am having some layout trouble building a widget whose size changes=20=
>> dynamically. [...]
>> Is this supposed to happen? Can I do anything about it?
>
> Have you tried applying 'dynamic' to the layout?
> layout :=3D dynamic $ widget st
I have tried that, and no it does not help. For that matter, the API=20
says that StaticText is dynamic by default, so as you mentioned it=20
shouldn't make a difference anyway.
Just in case, I ought to clarify that the widget does resize correctly,=20=
but the problem is that it goes back to its original size the moment=20
the parent window gets resized. It forgets its new "correct" size.
--=20
Eric Kow http://www.loria.fr/~kow
PGP Key ID: 08AC04F9 Merci de corriger mon fran=E7ais.
|