Re: Scrollbar misbehaving w/ ROText ?
Dean Arnold <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
OK, I've played with a few things in the example I sent, and here's my results: 1) changed from Scrolled() to explicitly creating the scrollbar widget - no effect 2) changed from ROText to Text - no effect (ie, the problem exists in Text as well as ROText) 3) I changed the number of lines loaded into the text widget Interestingly, up to about 220 lines, everything behaves properly; after that, the scrollbar seems to lose track of the size/location of the slider 4) Changing the font size seems to have some effect on the number of lines that breaks it; bigger fonts seem to break it at around 150-170 lines. I suspect there's some subtle interaction between the resizing of the slider down to/beyond its minimum size, and the way the scrollbar tracks it location (possibly due to some precision issues with font metrics ?) Anyone familiar enough w/ tkWinScrlbr.c to know what to look for ? - Dean -++**==--++**==--++**==--++**==--++**==--++**==--++**== This message was posted through the Stanford campus mailing list server. If you wish to unsubscribe from this mailing list, send the message body of "unsubscribe ptk" to [email protected]