is an option for objects that can be displayed with frames that specifies whether the vertical margins should shrink wrap tightly around the contents.
- With the setting ContentPadding->True, the height of the content area of a framed object will be at least one full line height, even if the contents of a given line do not span the full height of the line.
- A setting of ContentPadding->False shrinks the content area tightly around the contents instead of rounding out to at least one full line height.
- The internal margin of a framed object is set by adding the value of FrameMargins to the margin area controlled by ContentPadding.
Examplesopen allclose all
Basic Examples (3)
If the content area is already taller than one line height, ContentPaddingTrue will do nothing:
Wolfram Research (2010), ContentPadding, Wolfram Language function, https://reference.wolfram.com/language/ref/ContentPadding.html (updated 2021).
Wolfram Language. 2010. "ContentPadding." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/ContentPadding.html.
Wolfram Language. (2010). ContentPadding. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ContentPadding.html