Please enable JavaScript to view this site.

 

Navigation: Tokens > Layout Tokens

[BOXGROW] Growing Box If Needed to Fit Text Inside

requires QuarkXPress 8-2024 or InDesign

Scroll Prev Up Next More

The [BOXGROW] token is used and functions in the exact same manner as the [BOXFIT] token.

 

The only difference is the intended use:

 

BOXFIT is used to get a box that is expanded until it is exactly the right size for the contained text, not too small, and not too large.

When using QuarkXPress 2016-2024 or InDesign, any box containing a BOXFIT token, and which does not have text overflow initially, will be automatically reduced in size to 3 points, to ensure text overflow, before the actual BOXFIT processing begins (when using older versions of QuarkXPress, if there is no text overflow at the beginning of the processing of a BOXFIT token, then a warning message will be issued).

BOXGROW is used to get a box that is expanded, if needed, to fit the contained text, but where the box being larger than the contained text is an accepted possible outcome. That is to say, the BOXGROW token makes the box at least large enough. If there is no text overflow at the beginning of the processing of a BOXGROW token, then no warning message will be issued.

 

See also: [BOXFIT] Re-sizing Box to Fit Text and other layout tokens.

 


Topic 181115, last updated on 18-May-2023