cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
immmie
New Member

Gallery columns are overlapping

Hi all, 

 

Currently I am trying to build a timeline using Power Apps. I am working with 5 different categories, which are all in separate horizontal galleries. However, as you can see in the image, sometimes the different columns (filled with events) are overlapping. I want to change the y-position when something is overlapping. 

 

The location of the events are based on when the event is happening.

 

I have tried it with the following statement in the Y-category which doesn't seem to help: 

 

If(
Circ_Icon_5.X > (Rect_Duration_5.X + Rect_Duration_5.Width) && (Rect_Duration_5.X + Rect_Duration_5.Width) < Circ_Icon_5.X,
Circ_Icon_5.Y + Circ_Icon_5.Height,
Circ_Icon_5.X > (Indicator_10.X + Indicator_10.Width) && (Indicator_10.X + Indicator_10.Width) < Circ_Icon_5.X,
50,
0)

 

What I want is that when the circle is overlapping with either the text or the colored bar, I want that overlapping item to be placed lower. Only when it is the case of overlapping. 

 

I hope we can find the solution together. 

immmie_1-1638539912867.png

 

 

 

immmie_0-1638539776305.png

 

0 REPLIES 0

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.

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,612)