Sha256: 5269ffdf65b977cd0d6de59adc3fa398ad98e8b338af61ceef633e906e993322

Contents?: true

Size: 431 Bytes

Versions: 5

Compression:

Stored size: 431 Bytes

Contents

require 'whirled_peas'

class TemplateFactory
  def build(*)
    WhirledPeas.template do |composer|
      composer.add_box('Outer') do |composer, settings|
        settings.full_border
        settings.scrollbar.horiz = true
        settings.width = 5
        composer.add_box('Inner') do |composer, settings|
          settings.set_position(left: -4)
          'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
whirled_peas-0.9.1 screen_test/settings/scroll/horiz_box.rb
whirled_peas-0.9.0 screen_test/settings/scroll/horiz_box.rb
whirled_peas-0.8.0 screen_test/settings/scroll/horiz_box.rb
whirled_peas-0.7.1 screen_test/settings/scroll/horiz_box.rb
whirled_peas-0.7.0 screen_test/settings/scroll/horiz_box.rb