({{, (RefLink[ImageSizeAction, paclet:ref/ImageSizeAction]) 
is an option for (RefLink[Pane, paclet:ref/Pane]) and related constructs that specifies what to do if the specified (RefLink[ImageSize, paclet:ref/ImageSize]) setting does not match the size of the contents.}})

OpenersNotesSection(Spacer1)Details

Typical possible settings for (RefLink[ImageSizeAction, paclet:ref/ImageSizeAction]) are:

With (RefLink[ImageSizeAction, paclet:ref/ImageSizeAction])->"ShrinkToFit", the contents can be made smaller, but never larger.

OpenersPrimaryExamplesSection(Spacer1)Examples  (4)

OpenersExampleSection0(Spacer1)Basic Examples  (4)

The default for (RefLink[ImageSizeAction, paclet:ref/ImageSizeAction]) is "Clip":

Pane[150!,ImageSize->{100,100}]

Use "ShrinkToFit" to shrink so that all the data fits in the pane:

Pane[150!,ImageSize->{100,100},ImageSizeAction->"ShrinkToFit"]

"ResizeToFit" shrinks or expands so that the data just fills the pane:

Pane[5,ImageSize->{100,100},ImageSizeAction->"ResizeToFit"]

"ShrinkToFit" shrinks but never expands:

Pane[5,ImageSize->{100,100},ImageSizeAction->"ShrinkToFit"]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[Magnify, paclet:ref/Magnify])  ▪  (RefLink[Pane, paclet:ref/Pane])  ▪  (RefLink[Scrollbars, paclet:ref/Scrollbars])  ▪  (RefLink[ImageSizeMultipliers, paclet:ref/ImageSizeMultipliers])  ▪  (RefLink[PixelConstrained, paclet:ref/PixelConstrained])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Graphics Shape & Size, paclet:guide/GraphicsShapeAndSize])}, {▪(RefLinkPlain[Accessibility, paclet:guide/Accessibility])}, {▪(RefLinkPlain[Options & Styling for Interactive Manipulation, paclet:guide/OptionsAndStylingForInteractiveManipulation])}})}})