Sha256: cc7e029d95b63fbebb57b8e9a9ac1994f66c7f333c721937965e782936eddb14

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 Bytes

Contents

# frozen_string_literal: true

Shoes.app do
  stack do
    @p = para "Things get placed"
    @b = button "as we go"

    para "#{@p.element_left}, #{@p.element_top} -> #{@p.width}, #{@p.height}"
    para "#{@b.element_left}, #{@b.element_top} -> #{@b.width}, #{@b.height}"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shoes-4.0.0.rc1 samples/simple_position_as_we_go.rb