fix form cells

This commit is contained in:
Pete Matsyburka
2025-06-06 21:58:10 +03:00
parent 28b583691f
commit ea0efe9314
+1 -1
View File
@@ -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