I have had a few clients hit this and I am sure this is a known issue or perhaps there is some way to check for it on my end but if someone changes the default Windows DPI for fonts (XP) or changes their windows icon size (Vista/W7) the grids don't display right.
Is there a property I can check for or set to avoid this display issue?
This may seem a little kludgy, however, if the Fill on the grid works fine, perhaps using the Dock.Fill on the grid, but placing it inside a group box or panel that seems to anchor well. I have not seen the behavior but then we control the desktops to all be alike.
Best of luck,
Kent
Hi,
I doubt this has anything to do with the grid. The grid is just a control and the size of the grid is no different than any other control. If you replace with grid with some other control, like a panel, does the same problem still occur?
Personally, I've noticed a lot of problems with anchored controls on different resolutions. There are all sorts of case where the anchoring doesn't work right and it's nothing to do with the WinGrid or any of the Infragistics controls. What I typically do in those cases is position the controls at run-time so I can make sure they are in the right place without relying on the anchoring logic in the DotNet framework.
But if you have a case where the grid or one of the Infragistics controls is behaving different than another control in terms of sizing and positioning, then you could post a small sample project here and we would be happy to check it out.
I'm running into the same issue with Volume 12.2. Using Visual Studio 2012. Most of our clients are Windows 7 (usually 64 bit)
Switching Dock to Fill isn't option without reworking our entire page layout. Is this a known issue with some other resolution?
Sorry I wanted to add that it isn't the dock property that is set to "Top, Bottom, Left, Right" but the Anchor property.
Mike-
So I have a winform that is running the following controls:
UltraDockManagerUltraToolbarManagerUltraGroupBox (Contains user filterable data options/fields) UltraTabControlUltraWinGrid
The UltraWinGrid is docked w/in the UltraTabControl w/ the Dock property set to "Top, Bottom, Left, Right" and then the rest of it is visual styling. What appears to be happening is it looks like the UltraWinGrid isn't re-sizing properly (see image #4 below) when the Windows 7 Display options are set to Medium (see image #3 below). Here is the default Windows 7 Display Option:
Image #1
This yields the desired results seen here:
Image #2
Display settings set to 125% (Medium):
Image #3
This is how the UltraWinGrid sizes with the "Medium" settings:
Image #4
The kicker is if the settings are set to 150% (Larger) as seen here:
Image #5
Everything still displays properly even at 150%:
Image #6
This same sort of display issue is present in Windows XP but I don't remember the XP version of the display settings. One thing I did notice while working on getting you the screenshots was that if the Dock property was set to "Fill" the issue didn't exist. The majority of my forms have the property set to "Fill" but a few older ones had "Top,Bottom,Left,Right" and it isn't an issue on my end to set them to fill.
I guess it is a non issue as long as you use the "Fill" property for the Dock but it looks like there might be some re-sizing issue going on for the other options.