Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the column width in the code to open the displayed column width different #329

Open
fwren opened this issue Apr 28, 2024 · 1 comment

Comments

@fwren
Copy link

fwren commented Apr 28, 2024

I use

QXlsx::Document document;
document.setColumnWidth(1, 100);

in the code

But the width displayed in the file is around 700, is this coincidence?

@fwren
Copy link
Author

fwren commented Nov 4, 2024

I seem to realize that the default unit for setting the width in .xlsx files seems to be the character width, which is different from what I think the actual width is. Could this be the cause of the situation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant