Sha256: 2abd9746a5e34bc6c1831bd4c0bdefe7f6dad2a4e9e1dc38fd4b4b0d40e1b2da

Contents?: true

Size: 746 Bytes

Versions: 1

Compression:

Stored size: 746 Bytes

Contents

# frozen_string_literal: true

module RubyJard
  class Layouts
    NarrowHorizontalLayout = RubyJard::Templates::LayoutTemplate.new(
      min_width: 80,
      min_height: 10,
      fill_height: false,
      children: [
        RubyJard::Templates::LayoutTemplate.new(
          height_ratio: 80,
          width_ratio: 100,
          children: [
            RubyJard::Templates::ScreenTemplate.new(
              screen: :source,
              width_ratio: 60
            ),
            RubyJard::Templates::ScreenTemplate.new(
              screen: :variables,
              width_ratio: 40
            )
          ]
        )
      ]
    )
  end
end
RubyJard::Layouts.add_layout('narrow-horizontal', RubyJard::Layouts::NarrowHorizontalLayout)

Version data entries

1 entries across 1 versions & 1 rubygems

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