web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / creating a gallery err...
Power Apps
Answered

creating a gallery error Self.Fill

(1) ShareShare
ReportReport
Posted on by 899 Moderator

I am having a problem with creating gallery

kej_0-1720596863326.png


whenever I create a blank horizontal gallery this error pops up. 
All galleries doesnt even have .HoverFill or .PressedFill properties.

- I already tried creating a new gallery with no components inside still having the same error. 
- Already tried refreshing the app. 
- Already searched Self.Fill but there's none in my app. 
- Already cleared cache

Categories:
  • Daniel Bocklandt Profile Picture
    5,151 Super User 2026 Season 1 on at

    hey @kej ,

     

    Can you see anywhere this little cross? 

    DBO_DV_0-1720597215153.png

    By selecting it you will normally be navigated to the  function with the error. sometimes you need to select it twice. Try to find it and maybe delete the code that's causing the error. 

     

     

  • KevinGador Profile Picture
    899 Moderator on at

    yes this is the image

    kej_0-1720597458295.png


    however as you can see galleries dont have .HoverFill or .PressedFill properties.
    whenever I click on the errors it doesnt lead me to anywhere. 

    I have also searched Self.Fill and nothing is popping out of the gallery. 
    Its no use when I create a new one, that error pops out too.

  • KevinGador Profile Picture
    899 Moderator on at

    kej_1-1720597677003.png


    look at this picture. Its a new screen and created a new gallery. The gallery doesnt even have components in it and the error automatically pops out. Makes no sense!

     

  • KevinGador Profile Picture
    899 Moderator on at

    kej_1-1720597677003.png


    look at this picture. Its a new screen and created a new gallery. The gallery doesnt even have components in it and the error automatically pops out. Makes no sense!

     

  • Daniel Bocklandt Profile Picture
    5,151 Super User 2026 Season 1 on at

    Have you tried getting the code View of the Screen? 

    DBO_DV_0-1720597729717.png

     

    Should be easier to find there. The search function doesn't return everything. 

     

  • Daniel Bocklandt Profile Picture
    5,151 Super User 2026 Season 1 on at

    Just add the Datasource and try the Code Preview please.

     

  • KevinGador Profile Picture
    899 Moderator on at

    Code for the newly created gallery in the new screen that contains the same error.

    - Screen2:
     Control: Screen
     Children:
     - Gallery2:
     Control: Gallery
     Variant: galleryHorizontal
     Properties:
     Items: |-
     =[
     "test1",
     "test2",
     "test3"
     ]
     DelayItemLoading: =true
     LoadingSpinner: =LoadingSpinner.Data
     TemplateSize: =If(Self.Layout = Layout.Horizontal, Min(320, Self.Width - 60), Min(320, Self.Height - 60))
     X: =40
     Y: =40


    Screenshot: 

    kej_0-1720598165842.png

     




  • Daniel Bocklandt Profile Picture
    5,151 Super User 2026 Season 1 on at

    Do you have this problem in any other App?

    Could you try changing the Authoring version

    DBO_DV_0-1720598352894.png

     

     

  • KevinGador Profile Picture
    899 Moderator on at

    thought this will solve the problem but still got the error 😞 Ill try different versions.

  • Daniel Bocklandt Profile Picture
    5,151 Super User 2026 Season 1 on at

    Have you activated Modern Controls and tried the "Modern Gallery". It's basically the same as the old one just an Icon changed? 

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 226 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard