So I have a UI element in a Screen Space - Overlay render mode canvas. And I'm trying to keep it inside the screen boundaries. Since I am using the Bubble Template Standard UI Subtitle Panel prefab, that has two panels (Main Panel and Bubble Panel) with Content Size Filter & Horizontal Layout Group components, and I'm having a hard time getting the correct sizes/positions of the Bubble Panel (is the one that I want to keep inside the screen boundaries).
Do you have an idea of how to approach this issue?
Here's an image of what I'm trying to say:
Spoiler
Thank you in advance!