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

QScrollBar stylesheet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • 5.4.2
    • Widgets: Style Sheets
    • None
    • Windows 7, Windows 8

      The bottom of the scrollbar is on the border of the widget.
      Here a minimal code that reproduces the bug :

      #include <QtWidgets//QApplication>
      #include <QtWidgets/QPlainTextEdit>
       
      int main(int argc, char *argv[])
      {
          QApplication a(argc, argv);
          QPlainTextEdit e;
          e.insertPlainText("a\na\na\a\na\na\na\na\na\na\na\na\na\na\na\na\na\n");
          e.setStyleSheet("QPlainTextEdit{ border: 1px solid black; }");
          e.show();
          return a.exec();
      }
      

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

            Unassigned Unassigned
            alundra Michael Ségura
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes