I have two drawable rectangles one that’s the background and the other that will act as the buttons. I want to place the button inside/over the background rectangle, what’s the best way to do that.
PopUpToolbar.py (3.7 KB)
Hi @Tommy804, you could use PixelLayout which allows to place controls over each other:
PopUpToolbar_CG.py (3.9 KB)
Then put the PixelLayout as a row into your DynamicLayout.
_
c.
1 Like
Thank you Clement.
What are the benefits of placing the PixelLayout in the DynamicLayout instead of just placing everything with a PixelLayout?
Hi @Tommy804, both works. I’ve just thought you might want to add something to your dynamic layout too
_
c.
1 Like