Hello Developers,
As I see in the code there’s a scale9 enabling API for LoadingBar
but it doesn’t seem to be there in Cocos Studio.
Layout, ImageView, Button has scale 9 options in studio.
However, if we are to use LoadingBar, in studio you have to add a long sprite.
and for different sizes different sprites.
If there’s a number of places where the progress bars are used and with different sizes, then we have to add different images, which is not optimal.
In fact, we should use -
- A scale 9 image in LoadingBar in cocos studio.
- Set the content size to define it’s 100% so changing the percentage value will scale accordingly.
- Reuse the same asset somewhere else to create a different LoadingBar with different size.
Also, we could use a single image and use node color to change it’s cosmetics.
Currently we use a large image.
Request:
This feature is not there in Cocos Studio as of now.
I assume that it should not be a very large overhead, as the API’s for that is already there in the engine and implemented with other classes already.
Any idea when it would come, may be with v3.11 ? any ETA if you guys are planning to have it.
What could be a current workaround to this scenario ?
@slackmoehrle just wondering if this request can be conveyed to the team, that would be great.
Thank you very much for your time.
Best Regards,
Pabitra