When using a HighDPI display, IXLColumn.AdjustToContents doesn't work as expected; it makes the columns too long, probably by the same percentage as currentDPI / 96.
The problem is probably around IXLFontBase.GetWidth().
Comments: We are writing a .NET application using ClosedXML and I can also confirm this issue. On my machine AdjustToContents worked fine; however on a coworker's machine, the function added extra space to the column. I then found this thread and decided to look at both our DPI settings in windows 7. I am set to small (100%), whereas he is set to Medium (125%). I then told him to change his DPI to Small. The problem went away. We are putting in a request to also get this issue fixed.
The problem is probably around IXLFontBase.GetWidth().
Comments: We are writing a .NET application using ClosedXML and I can also confirm this issue. On my machine AdjustToContents worked fine; however on a coworker's machine, the function added extra space to the column. I then found this thread and decided to look at both our DPI settings in windows 7. I am set to small (100%), whereas he is set to Medium (125%). I then told him to change his DPI to Small. The problem went away. We are putting in a request to also get this issue fixed.