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
fix: printToPDF default margins #36060
Conversation
The document printToPDF has a 1cm margin and this default value has been added in the code.
💖 Thanks for opening this pull request! 💖 We use semantic commit messages to streamline the release process. Before your pull request can be merged, you should update your pull request title to start with a semantic prefix. Examples of commit messages with semantic prefixes:
Things that will help get your PR across the finish line:
We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can. |
Congrats on merging your first pull request! 🎉🎉🎉 |
Release Notes Persisted
|
I was unable to backport this PR to "20-x-y" cleanly; |
printToPDF default margins The document printToPDF has a 1cm margin and this default value has been added in the code. Co-authored-by: Yusoo <Yusoo@users.noreply.github.com>
printToPDF default margins The document printToPDF has a 1cm margin and this default value has been added in the code. Co-authored-by: Yusoo <Yusoo@users.noreply.github.com>
I have automatically backported this PR to "21-x-y", please check out #36072 |
I have automatically backported this PR to "22-x-y", please check out #36073 |
fix: printToPDF default margins (#36060) printToPDF default margins The document printToPDF has a 1cm margin and this default value has been added in the code. Co-authored-by: Yusoo <Yusoo@users.noreply.github.com> Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Yusoo <Yusoo@users.noreply.github.com>
fix: printToPDF default margins (#36060) printToPDF default margins The document printToPDF has a 1cm margin and this default value has been added in the code. Co-authored-by: Yusoo <Yusoo@users.noreply.github.com> Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Yusoo <Yusoo@users.noreply.github.com>
printToPDF default margins The document printToPDF has a 1cm margin and this default value has been added in the code.
Description of Change
In the document
webContents.printToPDF
has a default value of 1cm for the margins, however it does not.Release Notes
Notes: default margin has been added in the code.