How do you align to parent on mobile native containers

How do you align to parent on mobile native containers

Same question for dev team :slightly_smiling_face:

Hello!

This is not the first time I see that question, unfortunately “align to parent” doesn’t exists on Mobile Editor.

But I found a little hack to get the same results. For example, if you need to put a circle in a square you can just follow theses steps :

  • Create “Fixed” group
  • Width: 50px ; Height: 50px (example)
  • Add your first shape with the same height and width (or just colorize the background to make a square)
  • Put your X on 0 (zero) and your Y on 0 (zero)
  • Repeat the same action with your circle (add a shape, rounded 100, same X same y, same height, same width).
  • If you want the circle to be smaller than the square, just reduce the size but keep the same ratio and the same X and Y

Thank you very much, I will try it

That works for only fixed elements. What if for dynamic elements? Like a video in the background and buttons on it?

There is no way you can overlay elements with dynamic width/height. Thats really a basic feature mobile missing now. Hope team adds align to pareng asap.

Hi,

It would be nice to hear Bubble dev team on this topic. What is the official alternative when we need to overlay elements with dynamics width and height?

+1 on this