#Carousel animation component not scrolling!moving to the center on an image with a bigger width

26 messages · Page 1 of 1 (latest)

flint finch
#

are you able to share your file, or a simple example if you can't do that? Can't quite tell what's going on just from this!

hollow sandal
#

I've sent the link in direct messages

#

How can I make all 3 properties align to the center

trail swan
#

I think you could put all of them into a frame or something where the frame's width is equal or greater than the width of the image that has the greatest width (in this case the lenovo's), and center each images in each each frame to the middle.

hollow sandal
trail swan
hollow sandal
trail swan
#

You put autolayout on the parent element, and it will organize the immediate child elements

hollow sandal
#

I'll try it

trail swan
#

Make sure those two on the top are fixed!

hollow sandal
#

I'm making the images the same width

trail swan
#

Ohh yeah that works also hahah

#

I forgot you could make the image fitted

#

nice!

#

I think the weird. thing about it though might be that when it comes to coding it wouldn't work like this (?)

hollow sandal
#

yeah but this is probably going to be clumsy as soon as I add more brands on the list xD

trail swan
#

Just because I would assume when you code you would use the original images, but I guess. maybe you could do the same in code

hollow sandal
trail swan
hollow sandal
#

it's probably not the correct way. I'll have to do this for 100-200 brands and changing the frame width is going to be super clumsy xD

trail swan
#

I think you can also just have all the variants on an autolayouted frame. That way you only need to do it once

#

Also, how do you have the carousel setup?

hollow sandal
#

I'll try to capture a GIF or video of how the carousel slider animation looks