Class: RubyCurses::App::Stack
Overview
line up vertically whatever comes in, ignoring r and c margin_top to add to margin of existing stack (if embedded) such as extra spacing margin to add to margin of existing stack, or window (0) NOTE: since these coordins are calculated at start therefore if window resized i can’t recalculate.
positioning of components collapse
-
#margin ⇒ Object
Returns the value of attribute margin.
-
#margin_top ⇒ Object
Returns the value of attribute margin_top.
-
#width ⇒ Object
Returns the value of attribute width.
Instance Attribute Details
#margin ⇒ Object
Returns the value of attribute margin
1003 1004 1005 |
# File 'lib/rbcurse/app.rb', line 1003 def margin @margin end |
#margin_top ⇒ Object
Returns the value of attribute margin_top
1003 1004 1005 |
# File 'lib/rbcurse/app.rb', line 1003 def margin_top @margin_top end |
#width ⇒ Object
Returns the value of attribute width
1003 1004 1005 |
# File 'lib/rbcurse/app.rb', line 1003 def width @width end |