Hello,
I am testing UltraZoomPanel, and beside that bug with scroll bars when zoom factor i 1, I found another one. If I change size of UltraZoomPanel, i can see scroll bars both of UltraZoomPanel and WinGrid. If I change zoom factor for just one step, everything is OK. Any suggestions?
Picture is attached.
/community/resized-image/__size/800x500/__key/communityserver-discussions-components-files/1040/Scrollbar-error.png
Thanks
Just to tell you that you are right, they are independent controls, sorry for that.
In this picture you can see I moved zoom panel scroll bar far to the right, and we can see grid's right scroll bar. Now I will change window size for just one pixel
And here is error. After window size changed, we can see zoom panel scroll bars at almost full width / height, and suddenly grid's scroll bars appears where they shouldn't be. It's like grid scroll bars replaced functionality of zoom panel scroll bars.
And i changed zoom factor by 1, and you can see that everything is back to normal, as in the first picture.Grid scroll bars moved to their position, and are not visible since zoom panel left bar is moved far left.
So what I need is when I change window size, zoom panel should be like in the first and last image. Hope you understand the problem?
Ivan
I attached video with the problem. Look at bottom scroll bar
https://www.dropbox.com/s/ladq879jq5rey1v/Error.mov?dl=0
Thanks,Ivan
I know that grid has it's scroll bar, but when you add it to zoom panel, you can see only one scroll bar, so they are not independent, they are talking to each other. And it's working ok while the windows size is static. But when you change window size, the problem occur and you can see scroll bars doubled. And that's not expected behavior.
You can see it in image in your demo, or if you need more data, I can save you video, but open your demo, set grid columns to resize all, try to change zoom, and as soon as you are zooming, you can see one right and one bottom scroll bar. But put zoom on some higher value (200% for example), and click on window border and change size of window. You can see that there will be 2 right scroll bars and (or) 2 bottom scroll bars. Now just change zoom factor for one, and everything will be ok, there will be only one right scroll bar and one bottom scroll bar.
Image is attached. Do you maybe need video, or you can try this by yourself ?
This image is with normal behavior when you just change zoom factor. You can see one right and one bottom scroll bar.
And this is the situation when zoom factor is set to 273%, and I changed window size. You can clearly see 2 scroll bars on the right, and one is really large. So this is not normal behavior.
By the way, I am using infragistics for almost 10 years, so got a lot of experience to know how grid works.
Hi,
If the grid has more rows that can be displayed, it will display scrollbars. Similarly if not all of its content is displayed in the DisplayRect of the ZoomPanel, it will also show scrollbars (unless the scrollbars are explicitly turned off or the control is docked). This is the expected behavior.
Are you saying that there is some case where the contents fit and the scrollbar is shown erroneously? The grid scrollbar and the ZoomPanel scrollbar are completely independent they don’t interact with each other. Please clarify the details of the unexpected behavior that you are observing.
Please let me know if you have any questions.