Permalink
Browse files

Removed borders from skills table and added padding between the columns.

  • Loading branch information...
arockwell committed Aug 3, 2011
1 parent d368c98 commit 1e642f8118319109932b801902810d554c06fe3a
Showing with 1 addition and 6 deletions.
  1. +1 −6 lib/formatter.rb
View
@@ -97,12 +97,7 @@ def skills(skills)
@pdf.table skills do
cells.borders = []
cells.padding = 2
- rows(0..skills.size).columns(0).borders = [:top, :left, :right]
- rows(0).columns(1..2).borders = [:top, :right]
- rows(1..skills.size-2).columns(0).borders = [:left, :right]
- rows(1..skills.size-2).columns(1..2).borders = [:right]
- rows(skills.size-1).columns(1..2).borders = [:right, :bottom]
- rows(skills.size-1).columns(0).borders = [:left, :right, :bottom]
+ rows(0..skills.size).columns(0).padding_right = 60
end
@pdf.text "\n"
end

0 comments on commit 1e642f8

Please sign in to comment.