cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Future_Vision
Post Prodigy
Post Prodigy

Is there a way to move fields in a gallery based on the location of previous field?

Future_Vision_0-1619645782138.png

 

I might have asked this question oddly. Above I have a gallery record. The campaign details portion is made up of a label and a HTML text box. In this case there is only a little bit of text in the HTML field. In other cases there might be several lines. I want to avoid having the user scroll. I was thinking I could use auto height on the HTML field but that ends up overlapping the fields below. Is there a way to reposition the all of the proceeding fields so they have a Y value that starts X pixels from the bottom of the HTML field set to auto height?

1 ACCEPTED SOLUTION

Accepted Solutions
Sid_Jafri
Responsive Resident
Responsive Resident

Hi @Future_Vision 

You have to do some math here, set this formula in your fields for Y position Previousfield.Y + Previousfield.Height + 10 

Please Thumbs up if my post helped you solve your issue.

 

View solution in original post

1 REPLY 1
Sid_Jafri
Responsive Resident
Responsive Resident

Hi @Future_Vision 

You have to do some math here, set this formula in your fields for Y position Previousfield.Y + Previousfield.Height + 10 

Please Thumbs up if my post helped you solve your issue.

 

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,819)