public
Description: Fast, Nimble PDF Writer for Ruby
Homepage: http://prawn.majesticseacreature.com
Clone URL: git://github.com/sandal/prawn.git
updated header align example to include a right align [#98]
cbartlett (author)
Thu Nov 06 19:57:48 -0800 2008
commit  f3dc7a726eb6d9f8288a74ba10ebb28e94621baa
tree    15f673c8921756e456def24b5fca504749c6bfce
parent  da1e7eb35c63361335b00d84a12c0ea055b63c5a
...
11
12
13
14
 
15
16
...
11
12
13
 
14
15
16
0
@@ -11,5 +11,5 @@ Prawn::Document.generate "table_header_align.pdf" do
0
   :widths => { 0 => 75, 1 => 100, 2 => 50, 3 => 50, 4 => 50},
0
   :border_style => :grid,
0
   :align => { 0 => :right, 1 => :left, 2 => :right, 3 => :right, 4 => :right },
0
-  :align_headers => { 0 => :center, 2 => :left, 3 => :left, 4 => :left }
0
+  :align_headers => { 0 => :center, 2 => :left, 3 => :left, 4 => :right }
0
 end
0
\ No newline at end of file

Comments