Premium support for our pure JavaScript UI components


Post by jamesb »

Hello,

Our QA team noticed the following at certain zoom levels:

  • date labels on the time scale may overlap / be truncated,

  • the time scale and the grid may appear out of sync.

This can be reproduced on the inline-data example: https://bryntum.com/products/schedulerpro/examples/inline-data/
Is it possible to improve the time scale readability and alignment with the grid at these zoom levels?

truncated_labels2.png
truncated_labels2.png (7.69 KiB) Viewed 146 times
truncated_labels.png
truncated_labels.png (13.5 KiB) Viewed 146 times
out_of_sync.png
out_of_sync.png (13.9 KiB) Viewed 146 times

Thank you,
J


Post by marcio »

Hey J,

You can play with the viewPreset to display the Scheduler in a more readable way - https://bryntum.com/products/schedulerpro/docs/api/Scheduler/preset/ViewPreset

I believe with that you can improve the time scale readability and alignment with the grid. :)

Best regards,
Márcio


Post by jamesb »

Hi Márcio,

Like on the inline-data example, I applied the 'hourAndDay' view preset.
At most zoom levels, it displays correct "time steps" and stays in sync with the grid (which is the expected behavior).

Can we not expect the feature to behave just as well at all zoom levels, without "playing" with other view presets? :)

Thank you,
J


Post by alex.l »

Hi J,

Actually that is a bug. Of course, it should be working better in this case. This happens when forceFit is enabled, so for now, if applicable, try to not use it. Here is a ticket to track the status https://github.com/bryntum/support/issues/6064

All the best,
Alex


Post by jamesb »

Thank you Alex and Márcio!

The incorrect synching between grid and time scale is indeed fixed with forceFit disabled.
However, I noticed there are still zoom levels where the date labels are slightly truncated (like on the first screenshot of my initial post).

Best regards,
J


Post by marcio »

Hey jamesb,

Thanks for reporting that, I added a note to the ticket for our team to investigate. :)

Best regards,
Márcio


Post Reply