Sha256: 32879e73d3ee7f06be66447da132f8063134477dc44a160e561b45e292cad092

Contents?: true

Size: 678 Bytes

Versions: 27

Compression:

Stored size: 678 Bytes

Contents

### align_top

Providing the optional 'height' will set the interface height,
overriding any previous or calculated value for 'height'.

Aligning the view with the top of the terminal:

    # Vedeu.geometry :my_interface do
        align_top

        # ...
    # end

or...

    # Vedeu.interface :my_interface do
    #   geometry do
          align_top

          # ...
    #   end
    # end

Align this view with the top of the terminal and setting the
height to 20 rows/lines:

    # Vedeu.geometry :my_interface do
        align_top 20

        # ...
    # end

or...

    # Vedeu.interface :my_interface do
    #   geometry do
          align_top 20

    #   end
    # end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
vedeu-0.8.12 docs/dsl/by_method/geometry/align_top.md
vedeu-0.8.10 docs/dsl/by_method/geometry/align_top.md
vedeu-0.8.9 docs/dsl/by_method/geometry/align_top.md
vedeu-0.8.8 docs/dsl/by_method/geometry/align_top.md
vedeu-0.8.7 docs/dsl/by_method/geometry/align_top.md
vedeu-0.8.6 docs/dsl/by_method/geometry/align_top.md
vedeu-0.8.5 docs/dsl/by_method/geometry/align_top.md