On Fri, 15 Oct 2004, Tim Stevens wrote:
> > I am getting spectrum windows that keep redrawing themselves in
> > some sort of loop.....
> Not sure if this will totally fix the problem (works on my system) but you
> might like to try to change
> $CCP_HOME/python/ccpnmr/analysis/WindowPopup.py line 177:
>
> From
>
> self.lowerFrame = Frame(frame)
>
> To
>
> self.lowerFrame = self.scrolledFrame.frame
>
That seems to fix it, except that for a window where the number of spectra
means that the line of buttons is wider than the window, the window
resizes to accomodate all the buttons (rather than the previous scrolled
behaviour). Where there are fewer spectrum and peaks buttons, they are
offset from the left hand side now (maybe centred?), but that is a minor
point.
Brian
--
Dr. Brian O. Smith ---------------------- B.Smith at bio.gla.ac.uk
Division of Biochemistry & Molecular Biology,
Institute Biomedical & Life Sciences,
Joseph Black Building, University of Glasgow, Glasgow G12 8QQ, UK.
Tel: 0141 330 5167/6459 Fax: 0141 330 8640
|