The Purple Shoes Manual 0.7.166

vs.RedShoes

Purple Shoes is following Red Shoes, but not fully compatible.

TextBlock

The following two snippets are same in Red Shoes.

 Shoes.app do
   para 'hello ' * 20
 end
 Shoes.app do
   20.times{para 'hello '}
 end

But in Purple Shoes, need to add :width size explicitly.

 Shoes.app do
   20.times{para 'hello ', width: 40}
 end

If you don't specify the :width size, Purple Shoes makes a TextBlock object with the parent.width.

For more information, go to Red Shoes and Green Shoes.

Next: pshoes