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

Could the quick text node engine used to render the QML TextArea or TextEdit support different styles

XMLWordPrintable

    • Windows

      Initially in bug report:
      https://bugreports.qt.io/browse/QTBUG-120986

      Qt user raised following finding:
      "
      When uses Qt Widget: QTextEdit and calls setHtml() to load a html document the CSS table border style is rendered correctly. But load the same html file using QML TextEdit's QTextDocument the border style doesn't render correctly. Only the border-style: solid is recognized other style likes dashed, dotted were not rendered for table border. For the table cell border nothing was rendered.
      "

      This can be reproduced using Qt Quick Text Editor Example and for Widgets QTextTableBorders example at: Qt6.6.0/6.6.0/Src/qtbase/tests/manual/qtexttableborders

      As the controls do not support the desired functionality we have also opened feature request about this.

        1. table-border-test.html
          5 kB
        2. Use QML TextArea.png
          Use QML TextArea.png
          186 kB
        3. Use QTextEdit Widget.png
          Use QTextEdit Widget.png
          211 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            tero.pelkonen Tero Pelkonen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes