cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
288088
Post Partisan
Post Partisan

Listbox overlaps labeltext

Hello!

 

I got this gallery with a listbox of people with this formula in property "Height":

 

CountRows(ThisItem.Person)*20

 

and below that an ordinary label with text "Person2" and as you can see in the screenshot below the listbox overlaps this labeltext, is there anyway to make the listbox "Push" down that label depending how many people that are selected in the listbox?

overlaptext.png

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @288088 ,

You could use the same logic on the Y property of the label.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @288088 ,

You could use the same logic on the Y property of the label.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Pstork1
Dual Super User III
Dual Super User III

Set the Y value of the label equal to the Y value of the ListBox + a constant for whatever padding you want to use.  That will position the label based on wherever the end of the listbox falls.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,508)