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

setColumnWidthConstraints has no effect on odt files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • 5.0.2
    • None
    • WinXp Desktop_Qt_5_0_2_MinGW_32bit-Debug

      applying a constraint such as:
      QTextTableFormat tfmt;
      QVector<QTextLength> constr;
      constr.push_back(QTextLength(QTextLength::PercentageLength, 10));
      constr.push_back(QTextLength(QTextLength::PercentageLength, 90));
      tfmt.setColumnWidthConstraints(constr);
      QTextTable *table = cursor.insertTable(1, 2, tfmt);

      has no effect on printing to .odt
      It does work when printing to .pdf however.

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

            peppe Giuseppe D'Angelo
            m.koot m.koot
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes