Scheduler with Extra Padding
Hello PowerApps Community,
I am in the process of creating a scheduler in PowerApps and have run into a challenge with the Y-axis placement of booked work orders. The sizing of these elements works fine; however, their positioning on the scheduler has unexpected extra padding, which seems to increase with each subsequent work order.
Issue Description:
- Sizing: The work orders size correctly according to the duration.
- Positioning: The work orders exhibit extra padding on the Y-axis, which increases with each new work order.
Current Implementation:
- Formula Used for Height:
((Value(EndDays_2.Text) - Value(StartDays_2.Text)) * BookedWO.Height)/36000
- Formula Used for Y-Axis Placement:
Value(StartDays_2.Text) * BookedWO.Height/36000
- Components: Within the gallery, I'm using Text Boxes for calculations. Both the Height Property and the Y Property are reportedly correct, and the mathematics behind them seems accurate.
Example for Reference: On the date 12/10/2023:
- The first work order, starting at 8:30 with a 30-minute duration, is placed correctly (roughly).
- The next work order, starting at 09:00 with a 30-minute duration, does not align properly.
- Each subsequent work order is supposed to start immediately after the previous one finishes, without gaps.
Visual Reference: I've attached an image showcasing the issue, particularly noticeable on 12/10/2023.
I have verified that the Height and Y properties are reporting correctly and the calculations seem accurate. However, despite this, the issue persists.
Could the extra padding be a result of some gallery or control setting that I might have overlooked? Or is there a known bug that could be causing this behavior?
Any insights, suggestions, or solutions to eliminate this extra padding would be highly appreciated. If further information or clarification is needed, please let me know.
Thank you for your time and assistance!

Report
All responses (
Answers (