greg.kochanski@phon.ox.ac.uk
2006-Jan-23 23:40 UTC
[Rd] --gui=Tk window does not stretch (PR#8520)
Full_Name: Greg Kochanski Version: 2.2.0 OS: Debian Linux Submission from: (NULL) (212.159.16.190) When you grab the corner of the Tk-R (R's console) window, the window stretches, but the useable area does not. It remains firmly fixed at the (rather small) value of 24 lines. In fact, you end up with a grey border of wasted pixels around the active white area that contains the text. (And, please don't tell me that it's not a bug because it's been that way for 15 years, or because the S documentation states that the terminal window is 24 lines high. That would shatter my dreams and illusions.)
greg.kochanski at phon.ox.ac.uk writes:> When you grab the corner of the Tk-R (R's console) window, > the window stretches, but the useable area does not. > It remains firmly fixed at the (rather small) value of > 24 lines. > > In fact, you end up with a grey border of wasted pixels > around the active white area that contains the text. > > (And, please don't tell me that it's not a bug because > it's been that way for 15 years, or because the S > documentation states that the terminal window is > 24 lines high. That would shatter my dreams > and illusions.)It's not a bug, it's an unimplemented feature... As you're bound to discover, the Tk console is mainly a proof-of-concept with shortcomings in many other areas as well. It's been largely undeveloped (as has the Gnome GUI) because we had very little feedback to indicate that people were actually interested in getting it to work better. Patches might be considered. The particular issue is just a matter of sending suitable options to the Tk geometry manager. This can be fixed in the console.tcl script, and in fact also from within the running GUI using with(.GUIenv, tkpack("configure", Term, expand=TRUE, fill="both")) -- 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 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907