[Rd] tcltk::tk_select.list has bad width (PR#9410)

Peter Dalgaard p.dalgaard at biostat.ku.dk
Wed Dec 6 20:11:21 CET 2006

jhallman at frb.gov wrote:
> Full_Name: Jeff Hallman
> Version: 2.4.0
> OS: Linux
> Submission from: (NULL) (
> The window put up by tcltk::tk_select.list appears to be of fixed width (20
> chars), and is not wide enough to accomodate strings longer than 20 characters
> long.  This can be easily fixed by setting the option "width = 0" in the calls
> to tklistbox().  Width = 0 tells tk to make the listbox just wide enough to
> accomodate the items contained in the list.
Hmm, maybe, but probably not unconditionally: What if someone puts in an 
item that is supercalifragilisticexpialidosiously long?

You can already scroll sideways using the arrow keys.

More information about the R-devel mailing list