Re: Zoom out problem about FloatCanvas Demo
"'Chris Barker' via wxPython-users" <[email protected]>
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <CALGmxEKkqZMLZwOM3iV1Rnzb66DWBuyZLXQUuqLsYEKe0=ZZkA@mail.gmail.com> |
A note: FloatCanvas default behaviour is to zoom in and out in a way that preserved the location under the mouse. That is, the point in the drawing will remain under where you click the mouse. -CHB On Thu, Feb 13, 2020 at 7:08 PM Tim Roberts <[email protected]> wrote: > On Feb 12, 2020, at 10:45 PM, stillfish00 <[email protected]> wrote: > > > > I am trying the FloatCanvas Control of wxPython-demo-4.0.6 and get the > "zoom out" problem. > > I opened the demo frame, it shows some default graphs and texts on > canvas near the location (0,0). > > > > If I trigger "zoom out" mode on toolbar and left-click on location > (0,0), it does not zoom out at (0,0) but at (390,170). > > And, i cannot see those graph objects in the center of canvas. > > If you zoom out so that (0,0) at the center, what do you expect it to > display in the upper left quadrant of the window? > — > Tim Roberts, [email protected] > Providenza & Boekelheide, Inc. > > -- > You received this message because you are subscribed to the Google Groups > "wxPython-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/wxpython-users/7FE2100A-99D7-4593-B06D-0161F96E8907%40probo.com > . > -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [email protected] -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/CALGmxEKkqZMLZwOM3iV1Rnzb66DWBuyZLXQUuqLsYEKe0%3DZZkA%40mail.gmail.com.