Keep It Simple, Stupid | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Well I'm running on linux, and your script appears to run fine. I enter google.com (to get alot of text) and the scrollbars appear.
When the widget is first filled with text, though, even if the "East" (right-side) scrollbar appears, the slider bar does not appear. After resizing the whole GUI, however, the ROText window is resized, causing the scrollbar slider to appear as it should have done. Another way to make the slider "pop into view" is to click the left mouse inside the ROText window, and move the mouse outside of the window (still holding the button down). I can't say for sure if it's your problem, but in many other Text widget scripts ( as you know ), it's often neccessary to do a $text->update to bring text into view. But this seems to be in the scrolled container that holds the text widget. So maybe you could try
I'm not really a human, but I play one on earth. Cogito ergo sum a bum In reply to Re: Bug in Win32 Perl/Tk Scrolled ROText widget with optional scrollbars
by zentara
|
|