I'm using gWidgets GUI fronted package in R. I can specify height of gtext()
in pixel, but... how can I specify the height of gtext in number of lines of text (like in textarea in html ...)?
In particular, I need only one line text input field. Like <input type="text">
in html, but gtext()
works more like <textarea>
.
Based on @jverzani's comment - the solution is to use gedit
for single line entry, like:
xyear <- gedit("1980", height = 1, horizontal = F)