[Prototype-core] measure surrounding size

1 view
Skip to first unread message

Tom Nijns

May 9, 2010, 9:02:06 AM5/9/10
to Prototype: Core

I love the new measure and layout features but like to see something
When creating userinterfaces, I regulary need to know the surrounding
height or width of an element in order to resize it correctly. Now I
use my own function that aggregates padding, border and margin.
Perhaps $(elm).measure('surrounding-height') could do the same.

You received this message because you are subscribed to the Google Groups "Prototype: Core" group.
To post to this group, send email to prototy...@googlegroups.com
To unsubscribe from this group, send email to prototype-cor...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en

Andrew Dupont

May 10, 2010, 1:10:16 PM5/10/10
to prototy...@googlegroups.com
Tom, the "margin-height" key does the same thing.

Reply all
Reply to author
0 new messages