RE:Subject: Adjusting height of textbox in Qxp
RE:Subject: Adjusting height of textbox in Qxp
- Subject: RE:Subject: Adjusting height of textbox in Qxp
- From: mick wenlock <email@hidden>
- Date: Thu, 25 Oct 2001 12:14:55 -0600
Subject: Adjusting height of textbox in Qxp
Jeff Horton <email@hidden> wrote:
>
Is there a way to push up the bottom of a text box up to the last
paragraph?
>
>
What I have is a script to delete out paragraphs and after is done deleting
>
it pushes up the resizes the text box to the last paragraph. But my way
>
takes about 10-15 seconds per box. I know there is a faster way of doing
>
this, is there a command in Quark that you set the box to fit to text?
>
Right now I read in the font size of the 1st character of every line, it
>
works, but is inconsistent and slow.
Jeff,
try a repeat loop that decrements the bottom of bounds of the text box until
box overflows is true. Then just increase the bottom of bounds by whatever
size will work for you until the box overflows is not true.
Mick
Quark Script Support