MochiKit.Style.getElementDimensions is the preferred function, since
the other two will probably be removed soon (they are not documented,
and thus not part of the supported API).

There are some issues with border and padding size in this function
that is being discussed in another thread on the list.

Cheers,

/Per

On Wed, Jun 11, 2008 at 6:22 PM, Michael Bond <[EMAIL PROTECTED]> wrote:
>
> Your patch notes indicate not using getElementWidth and
> getElementHeight, what are the preferred?
>
> In a fit of trying to get horizontal scaling to happen at the same
> time as sliding a pair in the case where they were not the same size,
> I had already migrated some of the duplications to helper functions. I
> ended up giving up on the scaling for now but have left the helper
> code. After you let me know what to do with the height/width, I'll
> update that and add the new patch with all current changes to trac.
>
> On the MochiKit.Animator reference, I'm not seeing it in the mochikit
> repository, I assume this is part of another repository or maybe not
> in trunk. Hopefully I'm not duplicating any effort here.
>
> On Jun 11, 4:14 am, "Per Cederberg" <[EMAIL PROTECTED]> wrote:
>> I've added the original patch to Trac #312:
>>
>> http://trac.mochikit.com/ticket/312
>>
>> New functionality in MochiKit.Visual is low priority right now, so I
>> moved it to version 1.5. I also think more generic helper functions
>> are needed to make new functions like these most compact and readable.
>> Perhaps the best ideas from MochiKit.Animator should be included?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to