# Body not shrinking in print preview under certain conditions

**URL:** <https://forum.servoy.com/t/body-not-shrinking-in-print-preview-under-certain-conditions/3730>\
**Category:** Classic Servoy\
**Created:** [February 23, 2005, 7:22pm UTC](https://forum.servoy.com/t/body-not-shrinking-in-print-preview-under-certain-conditions/3730 "2005-02-23T19:22:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SteveInLA](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@SteveInLA](https://forum.servoy.com/u/SteveInLA)\
**Post date:** [February 23, 2005, 7:22pm UTC](https://forum.servoy.com/t/body-not-shrinking-in-print-preview-under-certain-conditions/3730/1 "2005-02-23T19:22:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![bobcart](https://avatars.discourse-cdn.com/v4/letter/b/71e660/32.png) [@bobcart](https://forum.servoy.com/u/bobcart)\
**Post date:** [March 1, 2005, 4:53am UTC](https://forum.servoy.com/t/body-not-shrinking-in-print-preview-under-certain-conditions/3730/2 "2005-03-01T04:53:05Z")

</div>

You aren’t the only one with these problems. See [http://forum.servoy.com/viewtopic.php?t … aef5dfcc86](http://forum.servoy.com/viewtopic.php?t=3961&highlight=&sid=3f55457c7a99619655eb54aef5dfcc86)

---

<div class="post-metadata">

**Author:** ![r.schneider](https://avatars.discourse-cdn.com/v4/letter/r/57b2e6/32.png) [@r.schneider](https://forum.servoy.com/u/r.schneider)\
**Post date:** [March 1, 2005, 8:34am UTC](https://forum.servoy.com/t/body-not-shrinking-in-print-preview-under-certain-conditions/3730/3 "2005-03-01T08:34:30Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![cjemichael](https://avatars.discourse-cdn.com/v4/letter/c/c89c15/32.png) [@cjemichael](https://forum.servoy.com/u/cjemichael)\
**Post date:** [March 1, 2005, 11:59pm UTC](https://forum.servoy.com/t/body-not-shrinking-in-print-preview-under-certain-conditions/3730/4 "2005-03-01T23:59:57Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)\
**Post date:** [March 4, 2005, 10:49am UTC](https://forum.servoy.com/t/body-not-shrinking-in-print-preview-under-certain-conditions/3730/5 "2005-03-04T10:49:21Z")

</div>

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.
