Canvas Apps Controls UI

Wrap Count – How to change the layout of Power Apps galleries

Wrap count of Power Apps galleries
Wrap count of Power Apps galleries

Introduction

If there is one control I like the most in Power Apps, its the gallery control. If you think about it, most native apps use galleries. For example, WhatsApp is nothing but a gallery of chat records. A chat is nothing but a gallery of messages. There are two basic layouts - vertical and horizontal. In the vertical layout, records are listed one below the other. Whereas in the horizontal layout, records are listed next to each other from left to right. One property that I feel isn't that "known", is wrap count.

Tip - Wrap Count

While vertical galleries have multiple rows of data in one column, you can have more than one column. Similarly, while horizontal galleries have multiple columns in one row, you can have more than one row. The way to achieve these layouts is by modifying the wrap count of the galleries using the WrapCount property.

To illustrate this, here is a quick demo:

Wrap count of a vertical gallery
Wrap count of a vertical gallery

To learn more about the gallery control, click here.

Stay tuned for the remaining 3 tips!

Recent articles

  1. A-Z: 26 tips! Learn how to improve your Power Apps!
  2. Add Picture vs Camera Control – Who is the winner?
  3. Background images for Power Apps screens – the right way!
  4. Combo box or Dropdown? - Who is the winner?
  5. Delegation in Power Apps – How to identify and test!
  6. Edit vs Display – Which is the better form?
  7. Formulas – How to learn the 170+ Power Apps formulas?
  8. Galleries vs Data Tables – How to pick between the two in Power Apps?
  9. Hyperlinks – How to launch web pages & apps in Power Apps!
  10. Icons – How to increase performance!
  11. Jump start – How to speed up Power Apps dev with components!
  12. Keyboard – How to control the keyboard type on mobile
  13. LastSubmit – How to fetch the last submitted record in Power Apps
  14. Media controls in Power Apps – How to improve user experience!
  15. New screens – How to speed up Power Apps dev using templates!
  16. OnStart – How to optimize app loading experience!
  17. Phone camera – How to switch cameras on Power Apps mobile!
  18. Quotes – Should you use single or double in Power Apps?
  19. Reset – How to reset a Power Apps gallery?
  20. SaveData – How to persist your Power Apps sessions!
  21. Tables – How to create tables in Power Apps
  22. User – How to fetch current user’s details in Power Apps
  23. Variables – What happens when global & context var have the same name?

4 thoughts on “Wrap Count – How to change the layout of Power Apps galleries”

Leave a Reply