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 III
Super User III

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 III
Super User III

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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,293)