Great question, Lisa! Anchoring a footer to the bottom of the screen in Power Apps is actually straightforward once you know the trick. Instead of trying to calculate its position relative to other containers, you can simply set its Y property so it always sits at the bottom of the parent screen or container.
Here’s how you can do it:
- Footer Height:
Let’s say your footer has a fixed height (e.g., 60).
- Footer Y property:
Parent.Height - Self.Height
This means: take the total height of the parent (the screen or root container) and subtract the footer’s own height. The footer will then always align flush with the bottom edge.
- Footer Width:
Parent.Width
This ensures it stretches across the full width of the screen.
- Footer X property:
0
Keeps it anchored to the left edge.
Example
If your footer control is named `ctFooter`, set:
- `X = 0`
- `Y = Parent.Height - ctFooter.Height`
- `Width = Parent.Width`
- `Height = 60` (or whatever fixed height you want)
Now, no matter how much content is above, the footer will always stay pinned to the bottom of the screen.
This approach works whether your content is scrollable or not. If you’re using a scrollable container, the footer remains fixed at the bottom while the content scrolls independently.
✨ If my response helped resolve your issue, please mark it as ✅ Accepted Answer and give it a ❤️ like — it helps others in the community find solutions faster. Thank you!