Body not shrinking in print preview under certain conditions

On my form, I have a column of lables that display tags, are 150x14 pixels, spaced 1 pixel apart vertically and set to slide vertically and grow & shrink in height. With just this on the form, the body does shrink in print preview. If I place any other element to the right of the first column, the body no longer shrinks. If I copy the entire column and place it to the right of the first column, then the body shrinks again. If I have one column with six labels to the left and a second colum with one label and directly below it, an empty label set to make up the space so the two columns are the same height with this empty label set to grow, shrink and slide, then the body shrinks again.

Confused? Me too. It seems that unless multiple columns of fields on a form are the same height to begin with, the body is unable to shrink.

I’m using Servoy 2.2rc2, Java 1.5.0_01, MSSQL Server 2000 SP3 on Windows 2000 Server.

Steve in LA

You aren’t the only one with these problems. See http://forum.servoy.com/viewtopic.php?t … aef5dfcc86

In one report I have a header, a body, a subsummary and a footer

I also notify this bug.
Sometimes there is a great white space before my subsummary.

Using
Servoy Developer
Version R2 2.2rc2-build 320
Java version 1.4.2_06-b03 (Windows XP)

I too notice this - but I thought it may be some dodgy calc fields I had.

Sometimes fields/lables seem to add white space and sometimes they crop the data (i.e. only show 1 line when they should be showing many). The effect seems to be a bit random and varies when you go into and out of print preview mode.

I’m about to try this without fields and using labels instead on the form. Will let you know how I get on.

We will investigate this, overcome the shrink issue in general, design your form with the minimum size fields, in this case you body is always the correct size even it does not shrink.