Skip to content

Commit 81bae7d

Browse files
committed
Allow setting a cell's min_width and max_width properties
1 parent da04233 commit 81bae7d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/prawn/table/cell.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,14 @@ def max_width
112112
#
113113
attr_writer :height
114114

115+
# Manually specify the cell's min_width
116+
#
117+
attr_writer :min_width
118+
119+
# Manually specify the cell's max_width
120+
#
121+
attr_writer :max_width
122+
115123
# Specifies which borders to enable. Must be an array of zero or more of:
116124
# <tt>[:left, :right, :top, :bottom]</tt>.
117125
#

0 commit comments

Comments
 (0)