https://gyazo.com/0bb610147d62dd418bde746bec7208a8
Any Ideas on how to fix it from scaling down when resized?
I’m using slicing to make it work on the X Axis, but it doesn’t seem to work for the Y.
https://gyazo.com/0bb610147d62dd418bde746bec7208a8
Any Ideas on how to fix it from scaling down when resized?
I’m using slicing to make it work on the X Axis, but it doesn’t seem to work for the Y.
Try choosing one at a time. (30)
That doesn’t fix it. I’m trying to make a health bar so when it is sized down, the bar doesn’t shrink vertically. Only horizontally.
For extra information, the gui is in relative XY and there is no size constraints effecting the bars.
The shape of the health bar makes this somewhat complicated. First, make sure they don’t have a UIAspectRatio attached to it. A loophole I recommend is cutting the shape so that it’s a triangle, aa rectangle, and then another triangle. When increasing/decreasing, scale only the rectangle and make the right triangle move with the rectangle.
There’s no UIAspectRatio attached to it, and when I set it to stretch mode, it doesn’t scale down. Is there any way I can make it so this resizes in slice mode without splitting it into 3 shapes?
Sorry for slow reply!
No problem. Not that I know of but maybe someone else might know. Good luck finding your answer!
I found the solution by using a modified method of what you did.
Basically In paint.net I removed the middle bar from the gui and kept only the triangles at the ends. Then I used slice to set it to scale from the middle, and that way it was at it’s lowest point originally, and I could scale it up easily without requiring 3 gui objects. Thanks so much for the help!