Method: Vedeu::Geometry::DSL#align_right
- Defined in:
- lib/vedeu/geometry/dsl.rb
#align_right(width) ⇒ Vedeu::Geometry::Geometry
Align the interface/view to the right.
Vedeu.geometry :some_interface do
# `width` is a positive integer, e.g. 30
align_right 30
# this is the same as:
# alignment(:right, 30)
# ... some code
end
188 189 190 |
# File 'lib/vedeu/geometry/dsl.rb', line 188 def align_right(width) alignment(:right, width) end |