Skip to main content

Setting constraints in manually positioned overlays


Snehil

I’ve got a popup window with 2 variants for minimized/maximized which I open as an overlay on the bottom-left of the screen, but with some padding. I cannot use manual position for this because in this mode the overlay positions based on top-left constraint and, when minimized, is anchored to the intended bottom-left point and is instead moved up.

My current (dirty) solution is to wrap all my variants in a transparent frame with some left and bottom padding. Then set the overlay position to “Bottom left” which correct anchors the overlay to the bottom-left as well.

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings