[tex-live] trouble starting context on latest tl2008 developer snapshot
taco at elvenkind.com
Mon Jul 7 17:37:44 CEST 2008
David Kastrup wrote:
>> This was not a big problem, I just made the vbox larger and I doubt
>> people with real hardware have such tiny screens these days.
> Actually, right now there is a trend for ultralight laptops like the
> Asus Eee PC with resolutions like 1024x600. This would seem to suffer
> from the same cutoff.
Something like this should work:
- my $mw = Tk::MainWindow->new();
+ my $mwv = Tk::MainWindow->new();
+ $mw = $mwv->Scrolled("Frame", -scrollbars => "oe", -height => 800);
(Sorry, I can't do a proper cut&paste from the virtualbox so I have
re-keyed the above code in the mailer, there could be typing errors).
The trick is to wrap the outer window in a scrolled object with an
optional scrollbar (at the east, in this cae).
So long as the contents fits the height of the mainwindow, that
scrollbar is invisible, but as soon as the height becomes too
small, it will appear automatically. This trick is not perfect
(its been a while since I did any Tk programming) but it seems
to work ok here.
More information about the tex-live