in reply to Tk::Text scrollbar resize problem
To get a better behaved scrollbar, split your input into lines:
use strict; use Tk; my $mw = MainWindow->new(); my $t = $mw->Scrolled('Text',-scrollbars=>'e',-wrap=>"word")->pack; $t->insert("end"," this is a test\n" x 4000); MainLoop;
-Mark
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tk::Text scrollbar resize problem
by ldln (Pilgrim) on Oct 20, 2004 at 19:29 UTC |