How to place UI elements relative to different positions in the container?

I’m struggling trying to add a progress bar that have to be at a constant distance from the bottom of the screen, be it either in pixels or in a percentage of the container’s height, only using the properties inspector.

I’ve concluded that it’s not possible with the current capabilities of CocosCreator. So I wonder whether there are any plans to add something like a second anchor relative to the continer.

For instance in Unity I can select where the node’s position is measured with respect to in the parents bounding box and coordinates system, i.e. top-left, bottom-right, bottom-center, etc.

Keep up the good work.

Pretty sure you can achieve it with widget component

Yep, I totally forgot about the widget component, I guess I need more coffee :stuck_out_tongue:

Thanks @persy