Skip to main content

Notifications

Community site session details

Community site session details

Session Id : EEVVoGYyiop/g85XJkCkUk
Power Apps - Building Power Apps
Unanswered

Make a button with background image responsive

Like (0) ShareShare
ReportReport
Posted on 23 Mar 2023 12:30:34 by 3

Hi everyone,

I'm trying to create a responsive Power App, and I'm having trouble making a button with a background image responsive. I've tried placing the button inside a container and adjusting the layout, but the image does not resize or scale properly when the screen size changes.

Does anyone have any suggestions for how to make a button with a background image responsive in Power Apps? I want the button to maintain its aspect ratio and position relative to other elements on the screen when the screen size changes.

Any help or advice would be greatly appreciated. Thank you in advance!

Categories:
  • JanviV Profile Picture
    3 on 24 Mar 2023 at 04:37:21
    Re: Make a button with background image responsive

    Hii,I tried your solution but it doesn't work to my app,

    Here I'm attaching a screenshot of my app interface that I want to make responsive by using only vertical or horizontal container.

    Can you provide other solution ?It will be really helpful for me.

    Thanks.

  • v-bofeng-msft Profile Picture
    on 24 Mar 2023 at 01:40:49
    Re: Make a button with background image responsive

    Hi @JanviV ,

     

    You could set the image's Width property to:

     

    App.Width or App.Width/2 

     

    And set the image's Height property to:

     

    App.Height or App.Height/2

     

    Best Regards,

    Bof

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Building Power Apps

#1
MS.Ragavendar Profile Picture

MS.Ragavendar 20

#2
BCBuizer Profile Picture

BCBuizer 10 Super User 2025 Season 1

#2
LC-26081402-0 Profile Picture

LC-26081402-0 10

Overall leaderboard