Jonne Zutt wrote:
> Maybe I do...
> I think the OP means the first scrollbar isn't tight to the first
> listbox. This is due to the length of the "Basic Manipulation" label.
>
> For example, try to pack this label as follows:
> tkgrid(lbl.MainT,columnspan=2,sticky="nw")
>
>
Aha. Now I see it too:
tkconfigure(lbl.MainT,text="Supercalifragilisticexpialidocious")
and yes, tkgrid() creates a (surprise) grid layout, so if one cell is
wide, so is the entire column, unless you let the cell span more than
one column.
I.e. this makes the effect go away
tkgrid(lbl.MainT,columnspan=4,sticky="nw")
(columnspan=2 does not quite cut it in this case)
-p
--
O__ ---- Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B
c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.