How to center an image with a :scale width #356
Answered
by
andymeneely
LouisDeconinck
asked this question in
Q&A
-
You can use :middle or :center to find the middle x and y coordinates for your card. However, if you place an image there, the image will start there and not be centered there. Normally you could subtract half of the images' width or height from the middle of the card, however, if you use :scale for the width or height of the image you don't know this value. How to center an image with a :scale width? |
Beta Was this translation helpful? Give feedback.
Answered by
andymeneely
Nov 22, 2021
Replies: 1 comment 1 reply
-
At the moment we don't have that. I believe I documented ideas for it in #238. Would be easier to do today than it was in the past. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
LouisDeconinck
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the moment we don't have that. I believe I documented ideas for it in #238. Would be easier to do today than it was in the past.