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

QTabWidget: When moving the left position of the tabbar in a stylesheet then it will cause the scrollbuttons to overlap with the right corner widget

    XMLWordPrintable

Details

    Description

      QTabWidget: When moving the left position of the tabbar in a stylesheet then it will cause the scrollbuttons to overlap with the right corner widget.

      Example:

      #include <QtGui>
      
      int main(int argc, char **argv)
      {
          QApplication a(argc, argv);
          QTabWidget tw;
          for (int i=0;i<15;i++)
              tw.addTab(new QLabel(QString("%1").arg(i)), QString("%1").arg(i));
          tw.setCornerWidget(new QLabel("Corner"));
          tw.setStyleSheet(
              "QTabWidget::tab-bar { left: 5px;  } "
              );
          tw.show();
          return a.exec();
      }
      

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            anshaw Andy Shaw (closed Nokia identity) (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