Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: S3XY on August 11, 2016, 04:01:44 AM
-
I wonder if theres a way to scale the height of a 3 sliced sprite without losing the proportion of the borders?
(https://s9.postimg.org/vqm71nytr/Screen_Shot_2016_08_11_at_10_54_19_AM.png)
Scaling witdh works perfectly. I don't want to touch the transform scale.
-
Not unless you write a custom widget for that. Sliced sprites keep the dimensions of the corners as-is, and adjust 1 of the 2 dimensions of the sides. Only the center resizes freely.
-
Thx, i made a solution where i took one square and two circle sprites and arrange/scale them automatically.