Method: AbstractLayout#height
- Defined in:
- lib/canis/core/include/layouts/abstractlayout.rb
#height ⇒ Object
if width percent is given, then it calculates and overwrites width. Same for height_pc The _pc values should be between 0 and 1, e.g 0.8 for 80 percent height and width can be negaive. -1 will stretch the stack to one less than end. 0 will stretch till end.
20 21 22 |
# File 'lib/canis/core/include/layouts/abstractlayout.rb', line 20 def height @height end |