HTML pring sliding GROW not working in 3.1.6 - wrapped

Under certain conditions, an HTML area and/or label with HTML in it will not grow enough.

This happens when the HTML has lines that are long enough to wrap. Each wrapped line 'bumps" a legitimate out.

I’ve tested this by adding 5 numbered lines. If line 1 is made very long (ie, no breaks (not spaces, HTML breaks) enough to wrap, line 5 disappears in printpreview.

If line 1 is further increased to wrap a second line, line 4 disappears.

If no lines wrap, then ALL show correctly.

It seems as if servoy is calculating the space needed for an HTML area and not accounting for wrapping lines.

I see the same behavior if the lines wrap in a table cell - ie, other cells disappear if one cell expands due to line wrapping in it.

Anyone else seen the issue in 3.1.6?

Oh, and SCROLL is off in v and h directions for HTML fields, and of course there is no SCROLL for the labels with HTML.

NCM
FSCI

BUMP.

I’m just bumping this. This still exists in 3.5rc4, and I’m really hoping it can be resolved.

It’s a real catch-22 for printing. I can’t use HTML_AREAs, because of the the weird font-kerning issue. I can’t use HTML labels, because of this wrapping issue. Argh.

greg.

The issue is corrected in the next public releases of Servoy. Partly in 3.5.1 and partly in 4.0.

  1. Changes that are made for 3.5.1 release and 4.0 release:
  • HTML Area, Text Area and Labels with HTML that allow grow width/height will grow (if they are allowed) to enclose their content.
  • when the above visual component types were allowed to grow in height, but not in width - they would not grow correctly to show the entire content if lines wrapped (HTML area did grow corectly in the past sometimes). Now they will grow in height to show the entire content (even for wrapped content).
  1. Change that is made only for release 4.0: all 3 components above react well when they are allowed to grow both in width and height and they are right-limited by the page border. (they will only grow in width until they reach the page border, and then grow in height to compensate for wrapping lines.

If you still find that something is not sizing right, please let us now.