boundingRect and scrolling

Monte Goulding monte at sweattechnologies.com
Mon Jul 22 02:43:46 EDT 2013


On 22/07/2013, at 3:22 PM, Scott Rossi wrote:

> I just ran into this yesterday.  I'd vote for it.

Well it turns out not to be that complicated... love this open source thing ;-)

Some interesting tings to note: 
 - bonding rect is treated internally as a boolean flag rather than an actual rect although it does set the minrect of the group which is I guess the point.
- there's some quirky behavior if there's lock location, scrollbars and bounding rect set. I'm not sure what the intention is but dragging objects around leads to some significant strangeness...
- my quick change effectively means lock location and bounding rect have the same behavior with the main advantage of bounding rect being you can resize eazily with the handles...
- my gut feeling is my change alters the bounding rect property too much and won't get accepted because of that because it effectively ignores the rect that the scripter set and just clips to the rect bounds like lock location does.

I guess I'll bring this up on the engine forum because maybe we need to add another flag like I originally suggested... clipsToRect?

Cheers

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!




More information about the use-livecode mailing list