Class: Potty::Mouth::Prompt::Base
Overview
Prompts pack tight (no inter-widget spacing) so the view height matches the inline region exactly — otherwise the default spacing pushes fields past the sized region and they render clipped/invisible.
Instance Attribute Summary
Attributes inherited from View
Instance Method Summary collapse
Methods inherited from View
#activate, #build_layout, #deactivate, #handle_escape, #handle_key, #initialize, #layout_widgets, #on_activate, #on_deactivate, #render, #tick
Constructor Details
This class inherits a constructor from Potty::View
Instance Method Details
#spacing ⇒ Object
107 108 109 |
# File 'lib/potty/mouth.rb', line 107 def spacing 0 end |