Sha256: 99342d675753fe4065279e58cd6b5f058b5602cf170032fb9e4c9a0d1ea3b0f7

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

# frozen_string_literal: true

module RubyJard
  module Layouts
    NarrowLayout = RubyJard::Templates::LayoutTemplate.new(
      min_width: 60,
      min_height: 10,
      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: 60
            ),
            RubyJard::Templates::LayoutTemplate.new(
              height_ratio: 40,
              width_ratio: 100,
              fill_height: true,
              children: [
                RubyJard::Templates::ScreenTemplate.new(
                  screen: :variables,
                  width_ratio: 100,
                  height_ratio: 100,
                  min_height: 3
                )
              ]
            )
          ]
        ),
        RubyJard::Templates::ScreenTemplate.new(
          height: 2,
          screen: :menu
        )
      ]
    )
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby_jard-0.2.2 lib/ruby_jard/layouts/narrow_layout.rb
ruby_jard-0.2.1 lib/ruby_jard/layouts/narrow_layout.rb