Skip to main content

How to Reorder Controls in a Container in Power Apps

· 4 min read
Jagdish Kumawat
Founder @ Dewiride

In a horizontal or vertical container, you can't drag a control to a new spot: the container places its controls one after another, in order. To move one, you change that order. Tree view's Reorder menu does it in two clicks.

Prerequisites​

Why the Order Matters​

A layout container positions every control for you. Microsoft notes that you can't drag or reposition controls inside one; you change their order in Tree view, or with the arrow keys (Building responsive canvas apps).

In the example, a Back button was added to the My Plan screen's header in the Career Development Plan app. A new control goes after the ones already there, so the button landed to the right of the title, lblTitleMPS. It belongs on the left.

Step 1: Open Reorder on the Control​

In Tree view, hover over the control, select ... and point to Reorder. In a horizontal container the options are Move to start, Move left, Move right and Move to end:

The Tree view with the ... menu of btnBackMPS open, Reorder expanded to Move to start, Move left, Move right and Move to end, with Move to start outlined in red

In a vertical container they read Move to top, Move up, Move down and Move to end.

Step 2: Choose Where It Goes​

Select Move to start. The button moved above the title in Tree view, and to its left on the canvas:

Tree view with conHeaderMPS containing btnBackMPS, outlined in red, above lblTitleMPS; on the canvas, the header shows the Back button before the title

The same screen used Move to end in a vertical container, conBodyMPS, so that its gallery sits below the text, spinner and message above it.

Common Mistakes​

MistakeWhat happensDo this instead
Trying to drag a control inside a containerIt doesn't moveUse Reorder
Changing X and Y of a control in a containerThe container ignores themChange the order, or the container's alignment and gap

Troubleshooting​

SymptomLikely causeFix
A new control appears after the othersInserted controls go to the end of the containerReorder → Move to start, or move it step by step
A control is still in the wrong place after Move to startIt's in a different container than you thinkCheck its parent in Tree view

FAQ​

Does the order in Tree view match the order on screen?​

Inside a layout container, yes: the container lays its controls out in that order.

Can I use the keyboard?​

Microsoft mentions the arrow keys as a shortcut for changing the order in a layout container.

Conclusion​

Controls in a layout container follow their order. Open ... → Reorder and pick Move to start, Move left, Move right or Move to end (Move to top, up or down in a vertical container).

Additional Resources​

Stay Updated

Subscribe to our newsletter for the latest tutorials, tech insights, and developer news.

By subscribing, you agree to our privacy policy. Unsubscribe at any time.