Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-24371

Page margins are not correct in QPrintPreviewDialog, if setFullPage() is true

    XMLWordPrintable

Details

    Description

      With following code, margins are not obeyed in QPrintPreviewDialog. Printing to PDF and to real printer works fine.
      printer->setFullPage(true);
      printer->setPageMargins(20,20,20,20,QPrinter::Millimeter);

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              johnlayt John Layt
              qtcomsupport Qt Support
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes