Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
15
AutoFitColumnWidth not working when using display scaling
posted

Hi!

We're using Ultimate UI 18.1 in our C# WPF application. We have a XamSpreadsheet, and we use following code to autofit the contents:

new SpreadsheetCommand(SpreadsheetCommandType.AutoFitColumnWidth).Execute(_grid);

This works perfectly, as does the double clicking between the column headers.

If we scale our display from Window's display settings, this autofit functionality breaks. It changes the widths, but they became too small, thus some on the cell contents are hidden.

Do you happen to know if this has been fixed in newer versions? Or is there some functionality somewhere in the library that we could use to solve this problem?

Best Regards,

-- Ville Mattila

Parents Reply Children
No Data