samples/views.rb in reflexion-0.1.12 vs samples/views.rb in reflexion-0.1.13

- old
+ new

@@ -12,13 +12,13 @@ win = Window.new do images = [:red, :blue].map do |col| Image.new(32, 32).tap do |img| img.paint do - color :white + fill :white rect img.bounds - color col + fill col ellipse img.bounds.inset_by(2, 2) end end end @@ -31,10 +31,10 @@ button.on :press do |e| count += 1 image1.image = images[count % 2] end - set title: 'Many View Sample', frame: [100, 100, 500, 400] + set title: 'Many View Sample', frame: [100, 100, 500, 400], flow: :right end Reflex.start do win.show