Sha256: 707ac5793b7a49a280976199537e6cc0898afac2b8f9a86ba20dcc2d1c620f5d

Contents?: true

Size: 493 Bytes

Versions: 1

Compression:

Stored size: 493 Bytes

Contents

# frozen_string_literal: true
Shoes.app do
  flow(width: 300) { 3.times { |i| button "hello#{i}" } }
  stack(width: 100) { 3.times { |i| button "hello#{i}" } }
  button 'bye bye1'
  flow(width: 0.5) { 2.times { flow(width: 0.5) { 2.times { |j| button "Yayyyy#{j}" } } } }
  flow(width: 0.3) { button 'go go go go go' }

  stack(width: 0.3) do
    edit_line
    3.times { para 'hello' }
  end

  flow(width: 0.3) { image File.join(Shoes::DIR, 'static/shoes-icon.png') }
  button 'bye bye2'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoes-4.0.0.pre12 samples/simple_stack_flow_buttons.rb