From 0261efa58fcb6a37534111f4e21facbb3e222c7b Mon Sep 17 00:00:00 2001 From: David Stroupe Date: Mon, 30 Nov 2026 17:24:25 -0500 Subject: [PATCH] Clarify layout image sizing for axis-referenced zoom --- src/components/images/attributes.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/images/attributes.js b/src/components/images/attributes.js index 2aec730a910..125aa23b128 100644 --- a/src/components/images/attributes.js +++ b/src/components/images/attributes.js @@ -72,7 +72,13 @@ module.exports = templatedArray('image', { dflt: 'contain', editType: 'arraydraw', description: [ - 'Specifies which dimension of the image to constrain.' + 'Sets how the source image fits inside the container defined by', + '*sizex* and *sizey*. With *contain*, the whole image fits', + 'inside the container and may leave unused space. With *fill*,', + 'the image covers the container and may be cropped. Both', + 'preserve the aspect ratio of the source image. With *stretch*,', + 'the image fills both dimensions independently. Use *stretch*', + 'when both image edges must follow their respective data axes during zoom.' ].join(' ') },