"Raymond Irving" <[EMAIL PROTECTED]> wrote:

> Now that we have css borders working the way they
> should in DOM which of the following would you prefer?
> 
> 1) A Widget's size does NOT include it's border size.
> For example, a Button with a size of 16x16 will
> actually measure 18x18 due to it's DOM borders.
> 
> Or
> 
> 2) A Widget's size includes it's border size. For
> example, a Button with a size of 16x16 will actually
> measure 16x16.

Number 1. But think of it as two different widgets one
with a border and one without. A BorderWidget would
extend a PlainWidget and not clip the original content.
Only using one layer but add css border param unless
ns4 or using Skin class.

A more complicated PlainWidget may have several
children that require re-flowing on resize (Layout).
Even if the PlainWidget was a child of a BorderWidget
the children would stay in bounds and not dissapear  
under the borders.

-
Kevin
 
> 
> --
> Raymond Irving
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> SourceForge.net hosts over 70,000 Open Source Projects.
> See the people who have HELPED US provide better services:
> Click here: http://sourceforge.net/supporters.php
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://www.mail-archive.com/[EMAIL PROTECTED]/


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to