Sha256: 8fa7b370d90c4501f0360830b44f41a0fa1ab3db09c156af948e3775338ecf91

Contents?: true

Size: 694 Bytes

Versions: 15

Compression:

Stored size: 694 Bytes

Contents

### align_centre

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

Aligning the view centrally within the terminal:

    # Vedeu.geometry :my_interface do
        align_centre

        # ...
    # end

or...

    # Vedeu.interface :my_interface do
    #   geometry do
          align_centre

          # ...
    #   end
    # end

Align this view centrally within the terminal and setting the
width to 20 columns/chars:

    # Vedeu.geometry :my_interface do
        align_centre 20

        # ...
    # end

or...

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

    #   end
    # end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
vedeu-0.8.20 docs/dsl/by_method/geometry/align_centre.md
vedeu-0.8.19 docs/dsl/by_method/geometry/align_centre.md
vedeu-0.8.18 docs/dsl/by_method/geometry/align_centre.md
vedeu-0.8.17 docs/dsl/by_method/geometry/align_centre.md
vedeu-0.8.16 docs/dsl/by_method/geometry/align_centre.md
vedeu-0.8.15 docs/dsl/by_method/geometry/align_centre.md
vedeu-0.8.14 docs/dsl/by_method/geometry/align_centre.md
vedeu-0.8.13 docs/dsl/by_method/geometry/align_centre.md
vedeu-0.8.12 docs/dsl/by_method/geometry/align_centre.md
vedeu-0.8.10 docs/dsl/by_method/geometry/align_centre.md
vedeu-0.8.9 docs/dsl/by_method/geometry/align_centre.md
vedeu-0.8.8 docs/dsl/by_method/geometry/align_centre.md
vedeu-0.8.7 docs/dsl/by_method/geometry/align_centre.md
vedeu-0.8.6 docs/dsl/by_method/geometry/align_centre.md
vedeu-0.8.5 docs/dsl/by_method/geometry/align_centre.md