Sha256: e7924c77a5162a35ac46d6a0fa855466057c1c32afcc89ff7a60e4e610511653

Contents?: true

Size: 717 Bytes

Versions: 2

Compression:

Stored size: 717 Bytes

Contents

# frozen_string_literal: true

module RubyJard
  class Layouts
    TinyLayout = RubyJard::Templates::LayoutTemplate.new(
      min_height: 10,
      fill_height: false,
      children: [
        RubyJard::Templates::LayoutTemplate.new(
          height_ratio: 80,
          width_ratio: 100,
          min_height: 7,
          fill_height: true,
          children: [
            RubyJard::Templates::ScreenTemplate.new(
              screen: :source,
              height_ratio: 100
            )
          ]
        ),
        RubyJard::Templates::ScreenTemplate.new(
          height: 2,
          screen: :menu
        )
      ]
    )
  end
end
RubyJard::Layouts.add_layout('tiny', RubyJard::Layouts::TinyLayout)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby_jard-0.3.1 lib/ruby_jard/layouts/tiny_layout.rb
ruby_jard-0.3.0 lib/ruby_jard/layouts/tiny_layout.rb