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

Setting negative padding obscures border lines for QPlainTextEdit and QTextEdit

    XMLWordPrintable

Details

    Description

      Borders are truncated when negative padding is set for QPlainTextWidget and QTextEdit
      Please see the attached sample for more details (QTBUG82103_negativepadding.ui)

      The effect varies depends on the value of the padding and border
      1) With smaller values, negative padding hides all borders
      2) With big values, negative padding truncates the border of the same direction as padding

      Workaround :
      Adding background-color solves the problems.

      Attachments

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

        Activity

          People

            vhilshei Volker Hilsheimer
            nagrohn Nahomi Gröhn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes