Sha256: ce363e67cfa2d25ac1423ef166e5389cca01ebdc1cfa9b8cc9ac9678fb31c75b

Contents?: true

Size: 612 Bytes

Versions: 1

Compression:

Stored size: 612 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
            )
          ]
        )
      ]
    )
  end
end
RubyJard::Layouts.add_layout('tiny', RubyJard::Layouts::TinyLayout)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby_jard-0.2.3 lib/ruby_jard/layouts/tiny_layout.rb