-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
browser zoom #51
Comments
Hi Mike, I initially thought that this was a problem, too. However, on further analysis I think this is actually the result of anomalies within the browser implementation of the zoom feature. For example, on WinXP and Google Chrome, I see what appear to be mis-alignments within the plugin UI as I used the browser zoom feature. However, as I progress up to 200% and 300% those "mis-alignments" correct themselves. I see the same thing in both the jQuery Gantt demo and my own implementation using the plugin. Perhaps what we are seeing is related to rounding in the zoom algorithms? I also tried to actually cleanup/simplify the CSS and grid rendering logic of the plugin, but I eventually gave up. -Mark |
Yes I did tried various way. What about using actual table rather then |
@mike-aungsan , @mleden, is this an issue specific to chrome, as described in #32? Do you still see the issue when using the current version on master? |
The issue can be easily reproduced on either Chrome or FF as follows:
|
Ugh, I think I know what's causing this. I'll try to put in a fix sometime this month, though it might just go away once we switch the CSS box-sizing of the plugin (see #102). |
Hi, I have tested this suggestion by resetting the box-sizing to content-box as suggested in this commit 2666f30 |
@usmonster thanks for the reply and for the information. I'm willing to help and try to implement a fix. You said there's more to it than resetting the box-sizing to content-box: anything specific in mind? |
Hi there! I have the same issue as mentioned above. At 100%, 200% and 300% it renders all as it should, everything between is causing the gridlines not longer to be aligned. Just wanted to ask, if theres any progress regarding to this? Thanks in advance! |
Me too on the demo, see #102 |
Reopening after accidental auto-close when I merged a partial fix. The issue now seems to be strictly limited to the background display at specific browser zoom levels, i.e. anything not a multiple of 25. This is because the background image has a fixed-width border, and so it renders poorly at certain scales (e.g. 80%, 90%, 110%, ...). This can probably be solved by changing how the background is rendered, e.g. by using a gradient instead of an image. |
When browser zoom, the chart does not render, correctly,
Please have a look demo page with various zoom of the browser such as 110%, 120%, 130%....
Thanks.
The text was updated successfully, but these errors were encountered: