In Figma, constraints help control how objects behave when the frame is resized. Which constraint setting will keep an object fixed to the right edge of its parent frame when the frame width changes?
Think about which side the object should stick to when the frame grows or shrinks.
Setting the horizontal constraint to 'Right' keeps the object fixed to the right edge, so it moves as the frame width changes.
You have a rectangle inside a frame. The rectangle’s constraints are set to 'Left' and 'Top'. If the frame width and height increase, where will the rectangle be positioned?
Constraints 'Left' and 'Top' keep the object fixed relative to those edges.
With 'Left' and 'Top' constraints, the rectangle keeps its distance from the top-left corner, so it does not move when the frame resizes.
You want a button inside a frame to always stay centered horizontally and maintain a fixed distance from the bottom edge when the frame resizes. Which constraints should you set?
Think about how to keep the button horizontally centered and vertically fixed to the bottom.
Setting horizontal constraint to 'Center' keeps the button horizontally centered. Setting vertical constraint to 'Bottom' keeps it fixed to the bottom edge.
A text box inside a frame stretches horizontally when the frame width changes, but you want it to keep its original width and stay fixed to the left edge. Which constraint setting is causing the stretch?
Which constraint makes the object resize with the frame?
The 'Scale' constraint causes the object to stretch or shrink as the frame resizes, which is why the text box width changes.
In a BI dashboard, you have a measure that calculates the average sales per region. You want to create a measure that calculates the average sales only for regions visible in the current responsive layout (filtered by slicer). Which DAX expression correctly respects the current filter context for regions?
Assume the sales table is 'Sales' and the region column is 'Region'.
Think about how to calculate average sales only for the regions currently filtered or visible.
Option B uses VALUES to get the current filtered regions and calculates average sales per region, then averages those values, respecting the current filter context.
Options B and D remove filters, ignoring the slicer. Option B averages all sales ignoring region grouping.