- Home /
UI Cards, how to scale them properly ?
Hello,
currently iam developing some perksystem. When the player levels up he gets the chance to choose between a few skills which are displayed with cards.
My problem is the proper scaling of those cards. The cards consist out of 4 objects for now.
Cardbackground
Cardname
CardArt
CardDescription
I want everything to stay in place when you change the window size. Which currently doesnt work like i want it to. How can i achieve that ? I couldnt find a proper tutorial.
Currently my setup is a horizontal group holding 4 cards ( buttons ) the image of the button is the card itself. while the rest is separated into children.
When i try to resize the window right now, then the text and icon stays too big and not in place. How can i prevent this ?
Thank you!
One icon has an aspectratio fitter on it, which makes it fit on the gameobject itself, but it should only fit into the light blue area. how can i define that area ?
Your answer
Follow this Question
Related Questions
Playing Cards With Special Shrinking & Twisting Effects 1 Answer
How can i sort cards in a fixed width no matter how many card i have? 1 Answer
Mecanim vs Legacy on UI anims 0 Answers
How to scale UI elements smaller so they can fit onto panel when increased in number. 1 Answer
Layout group items are not fitting well 0 Answers