Skip to main content

Notifications

Community site session details

Community site session details

Session Id : SYGDZEdumpcG0Uu35Yy+ua
Power Apps - Building Power Apps
Unanswered

Gallery Rows with Gap After Rotation

Like (0) ShareShare
ReportReport
Posted on 9 Apr 2020 15:32:29 by

Hello Guys!



I have a problem here that I don't know how to solve, and if someone could help me, would be really appreciated!



THE PROBLEMI want to exhibit the following gallery on my App:


pic1.jpg

where each row of the Gallery has a Black Rectangle covering the whole row.



So, when I run the App on a Mobile, the screen exhibits the Gallery as follows:


pic2.jpg

which is the expected, since I'm using the current screen configuration:


pic3.jpg

BUT, when I rotate the mobile's screen 90Âş, the following happens:


pic4.jpg

where a white gap appears between each Row.



QUESTIONWhat I want is to exhibit each row next to each other, without this Gap. Could anybody help me?

 

Thanks! And any help would be appreciated!

Categories:
  • Community Power Platform Member Profile Picture
    on 11 May 2020 at 12:41:45
    Re: Gallery Rows with Gap After Rotation

    Hello, Mr. Bathia!

    Did you find any alternatives?

    Thanks

  • Community Power Platform Member Profile Picture
    on 16 Apr 2020 at 14:56:17
    Re: Gallery Rows with Gap After Rotation

    I'll be waiting eagerly for your solution!

     

    Thank you very much!

  • PowerAddict Profile Picture
    7,314 Most Valuable Professional on 16 Apr 2020 at 14:50:13
    Re: Gallery Rows with Gap After Rotation
    Awesome! Will check if something can be done to make it work without having to scroll.

    If not, will definitely raise it as a bug. Thanks a lot for tagging me and introducing me to this awesome use case!

    Thanks,
    Hardit Bhatia
  • Community Power Platform Member Profile Picture
    on 16 Apr 2020 at 13:02:25
    Re: Gallery Rows with Gap After Rotation

    Yes! When there's more items in the gallery, it gets fixed after scrolling down.

    Thanks for the help again!

  • PowerAddict Profile Picture
    7,314 Most Valuable Professional on 16 Apr 2020 at 04:12:34
    Re: Gallery Rows with Gap After Rotation

    So I tested this out. Although I was able to replicate your issue (which is good, gives me something to work with), after screen rotation, when I scrolled my gallery once, it seemed to work after that. I will try to see if I can get rid of the white space without scrolling but wanted to check with you if this was what you were seeing as well. 

     

    I am attaching a GIF that shows this behavior. Let me know if your gallery's behavior is consistent. 

     

    GalleryRotation1.gif

    Sorry for the fast frame rate, I had to do that to reduce the file size. 

     

    ---
    If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions. 

     

    Thanks!

    Hardit Bhatia

    Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

  • PowerAddict Profile Picture
    7,314 Most Valuable Professional on 16 Apr 2020 at 03:33:21
    Re: Gallery Rows with Gap After Rotation

    Looking at one of your images, it seems the gallery height and width are set based on some function rather than explicit values, can you please let me know what those expressions are for the gallery's height and width? 

     

    ---
    If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions. 

     

    Thanks!

    Hardit Bhatia

    Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

  • PowerAddict Profile Picture
    7,314 Most Valuable Professional on 16 Apr 2020 at 03:25:16
    Re: Gallery Rows with Gap After Rotation

    I am trying to replicate this now. Will keep you updated. 

     

    ---
    If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions. 

     

    Thanks!

    Hardit Bhatia

    Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

  • Community Power Platform Member Profile Picture
    on 15 Apr 2020 at 12:28:34
    Re: Gallery Rows with Gap After Rotation

    Does anybody have more ideas? @PowerAddict could see if this is another issue that can be flaged?

    Thanks!

  • Community Power Platform Member Profile Picture
    on 09 Apr 2020 at 16:38:30
    Re: Gallery Rows with Gap After Rotation

    Hello!

    It is already zero:
    pic5.jpg


    Also, the black-retangle's Width and Height are respectively equal to the gallery's TemplateWidth and TemplateHeight.

    Any more ideas?

    Thanks!

  • eka24 Profile Picture
    20,921 on 09 Apr 2020 at 15:47:58
    Re: Gallery Rows with Gap After Rotation

    Select the Gallery and Check if the Template Padding is set to zero 0.

     

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,369 Most Valuable Professional

Leaderboard
Loading started