Most likely, the first screenshot was taken on a display with the normal pixel density (96 dpi) and the second on a display with a high pixel density (192 dpi). If so, then you need to recalculate the column widths and row heights set in pixels depending on the pixel density of the current monitor and set them in the form's initialization code to have equal pictures.
As for iGrid members that could help you, you can try to harness the LayoutCol property of iGrid to solve your problem for columns. For example, you can generate the layout string for your columns on 96 dpi and then restore this string in the form initialization event. The LayoutCol property will take into account the current dpi and recalculate the column widths if required. However, there may be some rounding errors, so the most reliable way is to calculate the column widths exactly as you need them.
As for row heights, there is no iGrid member that could help you the same way.
Edited by user
2025-02-03T14:40:35Z
|
Reason: Not specified