1. Technology
Send to a Friend via Email
You can opt-out at any time. Please refer to our privacy policy for contact information.

Text and Paragraphs

By

4 of 4

Other Text Containers
Text and Paragraphs

The para method is just one of the text containers available to you when you're using Shoes. To make other text containers, use one of the title, subtitle, tagline, caption, para or inscription methods. Each of these methods has a different text size, so the size defined by the container will determine the size of any text or formatted text inside of the container.

Shoes.app :width => 380, :height => 280 do
  stack do
    title "Title"
    subtitle "Subtitle"
    tagline "Tagline"
    caption "Caption"
    para "Paragraph"
    inscription "Inscription"
  end
end
  1. About.com
  2. Technology
  3. Ruby
  4. Graphical User Interfaces
  5. Shoes
  6. Other Text Containers

©2014 About.com. All rights reserved.