Sha256: 71bb91ccea5ea38174aa3740de808026d7558b62dd14295d7ebef1012b9669e3

Contents?: true

Size: 361 Bytes

Versions: 6

Compression:

Stored size: 361 Bytes

Contents

Shoes.app do
  stack do
    # background, text and a button: both are elements!
    @back = background blue
    @text = banner "This quick brown fox"
    @press = button "Jumps over the lazy dog"

    # And so, both can be styled.
    @text.style :size => 24, :stroke => red, :margin => 10
    @press.style :width => 400
    @back.style :height => 10
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
scarpe-0.4.0 examples/legacy/not_checked/shoes-contrib/elements/common-styles.rb
scarpe-0.3.0 examples/legacy/not_checked/shoes-contrib/elements/common-styles.rb
scarpe-0.2.2 examples/legacy/not_checked/shoes-contrib/elements/common-styles.rb
lacci-0.2.1 examples/legacy/not_checked/shoes-contrib/elements/common-styles.rb
scarpe-0.2.1 examples/legacy/not_checked/shoes-contrib/elements/common-styles.rb
scarpe-0.2.0 examples/legacy/not_checked/shoes-contrib/elements/common-styles.rb