Skip to content

Commit

Permalink
use small size
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Sep 24, 2024
1 parent fbab077 commit 3eda4d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/prints/base_cpcl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def text(data, font: 8, size: 0, x: 0, y: 36, line_add: true)
@lines += 1 if line_add
end

def text_box(font: 8, size: 0, x: 0, y: 36, line_add: true, **data)
def text_box(font: 55, size: 0, x: 0, y: 36, line_add: true, **data)
width = data.keys.map(&->(i){ i.size }).max
data.each do |title, content|
title_with_pad = title.rjust(width, " ")
Expand Down

0 comments on commit 3eda4d9

Please sign in to comment.