Welcome,
Guest
. Please
login
or
register
.
May 28, 2023, 01:40:07 AM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Scaling 3-sliced sprite
« previous
next »
Print
Pages: [
1
]
Author
Topic: Scaling 3-sliced sprite (Read 1412 times)
S3XY
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 4
Scaling 3-sliced sprite
«
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?
Scaling witdh works perfectly. I don't want to touch the transform scale.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Scaling 3-sliced sprite
«
Reply #1 on:
August 13, 2016, 03:48:04 PM »
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.
Logged
S3XY
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 4
Re: Scaling 3-sliced sprite
«
Reply #2 on:
August 19, 2016, 06:27:32 AM »
Thx, i made a solution where i took one square and two circle sprites and arrange/scale them automatically.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Scaling 3-sliced sprite