Hi @Vidanaw ,
I guess it depends how much info your gallery is loading, what nested lookups your gallery might have and how long it's taking to load overall. Also, are you loading data from O365Users based on a query or a pre-set variable? Are you also then loading profile pics inside the gallery using different lookups? (Do you know how many rows you're expecting to load, or is it variable?)
So not knowing the answers to all these variables, there are perhaps a few things you can try...
You can make the gallery (and any other items on the page) invisible while the gallery is completely empty - but the gallery might load data iteratively (i.e. all rows might not just appear immediately). If you want to try this, set the Visible: property of your controls to;
!IsEmpty(gallery)
Conversely, you can set the visibility of an image (which might be your spinner gif) to the opposite, so it shows while the gallery is empty but disappears when it isn't.
IsEmpty(gallery)
If you know the number of rows you want to wait for, you can use CountRows(Gallery.AllItems) in your Visible: property condition, like
CountRows(gallery.AllItems)=100
You don't have to hide the buttons, you can set their DisplayMode: property to DisplayMode.Disabled based on the same conditions.
Hope this helps,
RT