Sha256: 15293d11367d52a4effdcda17a0b9aa58006e2b90a342bb077caf53174be02cc

Contents?: true

Size: 394 Bytes

Versions: 2

Compression:

Stored size: 394 Bytes

Contents

# overflow


b = text({x: 369, y: 30, content: "touch me to change text overflow"})
container=circle({width:300, height: 300, y: 99, drag: true})
container.text({content: lorem, x: 66, width: 300})
i=0
b.touch do
  case i
  when 0
    container.overflow(:hidden)
    i+=1
  when 1
    container.overflow(:scroll)
    i+=1
  when 2
    container.overflow(:visible)
    i=0
  else
    i
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
atome-0.4.7.0 vendor/assets/build/medias/rubies/examples/Old_examples/overflow.rb
atome-0.4.5.4 vendor/assets/build/medias/rubies/examples/Old_examples/overflow.rb