Thank you Chris !

Jo


2014-01-29 Chris Barker - NOAA Federal <[email protected]>

> On Jan 29, 2014, at 6:13 AM, Nouvelle Collection
> <[email protected]> wrote:
>
> >
> > Ok maybe. If you can do the test another day, it would be interesting to
> know if it's only on my platform (Win 7) or if it is similar on another
> plaftorm (the test is easy to do with the .py file you provided to me).
> >
> It works fine on my OS-X system without modification. But I'm not too
> surprised--this is exactly the kind of thing that tends to vary
> between platforms ( exactly when events are generated ).
>
>
> > Last question : In  ZoomToBB(), is it possible to define the default
> "margin" (it zooms on all the widgets + there is a small margin around of
> 10 pixels approximatively) ?
> >
> Just looked at the code, and no -- it turns out I hard-coded that in.
> It should be a setable parameter, perhaps an optional argument.
>
> But you can specify the BB that you want to zoom to, rather than it
> calculating it for you. It will still adjust the scale ( that wasn't
> well thought out). Do you'll need to hand-adjust your provided BB by
> 1/0.95 really kludge, I know. I'll see about a patch to fix this.
>
> Chris
>
>
>
>
>
> > Jo
> > _______________________________________________
> > FloatCanvas mailing list
> > [email protected]
> > http://mailman.paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas
> _______________________________________________
> FloatCanvas mailing list
> [email protected]
> http://mailman.paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas
>
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mailman.paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to