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 / How to change the X va...
Power Apps
Answered

How to change the X value of a gallery after a Component

(0) ShareShare
ReportReport
Posted on by 15

Hello, everyone.

 

I Have a component that contains a button that expands/retracts it. I want the gallery I have change its X value based on the button on the component, however, I cant user the variable used on the component on this screen. Any idea how to make the gallery X change by ~100? 

 

imagem2.jpg
image1.jpg
Categories:
I have the same question (0)
  • Verified answer
    Chris-D Profile Picture
    1,246 on at

    Hi @gabriel_broco , you can set the Gallery's X property to something like 'Component.Width'

  • gabriel_broco Profile Picture
    15 on at

    Thanks Chris, it worked! On the same noteimage5.jpg, im trying to insert the user image (from the excel column "login", its the same as Office365Users.UserProfile(InfoAbout.Text).MailNickname ), how do I link the login i have with the MailNickname image?

  • Chris-D Profile Picture
    1,246 on at

    That's not something I've used before sorry. Ask a new question for 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 477

#2
WarrenBelz Profile Picture

WarrenBelz 341 Most Valuable Professional

#3
11manish Profile Picture

11manish 317

Last 30 days Overall leaderboard