From: Darren D. <dd...@co...> - 2006-07-28 20:13:02
|
On Monday 24 July 2006 15:12, Jouni K Seppanen wrote: > Tommy Grav <tg...@ma...> 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 |