Changeset 230 for trunk/samples

Show
Ignore:
Timestamp:
10/06/2007 01:23:22 (11 months ago)
Author:
why
Message:

* shoes/ruby.c: text in a stack was starting at 0px left. boo.
* samples/book.rb: use text in a stack for the titles.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/samples/book.rb

    r219 r230  
    2222  def incident(num) 
    2323    num = num.to_i 
    24     flow :margin => 10, :margin_left => 190, :margin_top => 20 do 
    25       banner "Incident\n" 
     24    stack :margin => 10, :margin_left => 190, :margin_top => 20 do 
     25      banner "Incident" 
    2626      para strong("No. #{num + 1}: #{INCIDENTS[num][0]}") 
    2727    end