fix form cells

pull/493/head
Pete Matsyburka 5 months ago
parent 28b583691f
commit ea0efe9314

@ -78,7 +78,7 @@ module Templates
next if attrs[:w].zero? || attrs[:h].zero?
if child_field[:MaxLen] && child_field.try(:concrete_field_type) == :comb_text_field
attrs[:cell_w] = w / page_width / child_field[:MaxLen].to_f
attrs[:cell_w] = w / page_width.to_f / child_field[:MaxLen].to_f
end
attrs

Loading…
Cancel
Save