class BBS::Windows::Form::TextAreaField
A multi-line BBS::Widgets::TextArea, the formβs full width.
Public Instance Methods
Source
# File lib/bbs/windows/form/fields.rb, line 80 def grows? = !@descriptor[:rows]
True without its own rows.
Source
# File lib/bbs/windows/form/fields.rb, line 77 def height = @descriptor[:rows] || 6
Its rows, 6 by default.
# File lib/bbs/windows/form/fields.rb, line 83 def place(x, width, y, rows, _label_width) @widget.layout(x, y, width, rows) @widget.send(:ensure_visible) end
Lays the text area out rows high, its cursor kept in sight.