On Monday 24 July 2006 15:12, Jouni K Seppanen wrote: > Tommy Grav <[EMAIL PROTECTED]> writes: > > The window resizes horisontally when the pointer is inside the > > window, although the window behaves erratically as it resizes. > > Moving the pointer to the right will cause the window to grow then > > reduce size as you go further right. > > Is this related to the pointer coordinates shown in the lower-right > corner of the window? I.e., when you move the pointer right, perhaps > the x-coordinate becomes a longer number and the window is enlarged to > accommodate it. I remember seeing behavior like this on some old > version of Matplotlib (probably TkAgg backend on OS X) but cannot > reproduce it now.
I fixed this problem for the qt backends. The coordinates of the cursor are rendered in a label, and the resize policy of the label needs to be set so it doesnt try to grow to accomodate the long string. Darren ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users