yes, the setWidth/Height check for that (if <0  it sets 0)

but I think a layer should be set by default to size (0,0)  not set to the
contentwidth/height.  It would then always be possible to call the
contentwidth/height methods to retrieve those values.. but this should be
done by the user, not as default.


Pascal Bestebroer
[EMAIL PROTECTED]
http://www.dynamic-core.net

> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Namens Michael Pemberton
> Verzonden: zaterdag 24 februari 2001 14:38
> Aan: [EMAIL PROTECTED]
> Onderwerp: Re: [Dynapi-Dev] a few hours for only 2 lines of code.. damn!
>
>
> what if we want a width / height of 0?
>
> is it possible to use -1 to indicate an automatic value?
>
> Pascal Bestebroer wrote:
>
> > Now why does this not happen in dynacore? well, because there
> the this.w and
> > this.h default value is not  null  but 0.
>
> --
> Michael Pemberton
> [EMAIL PROTECTED]
> ICQ: 12107010
>
>
>
>
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
>


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to