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

cellWidgets not scrolled in QTableWidget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.8.1
    • GUI: Painting
    • None
    • MacOS X

    Description

      Add widgets via setCellWidget to the table in some of columns. In other columns just text added.
      Then when you scroll columns with text scrolled properly, but widgets stays on their old places.

      But when you resize window, then table redraw itself properly.

      Adding is like this:

       
       QLabel *label = new QLabel(name); //rich text
       widget.tableWidget->setCellWidget(currentRow, 0, label);
       //.....
       item = new QTableWidgetItem("some text");
       widget.tableWidget->setItem(currentRow, 2, item);
      

      Attachments

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

        Activity

          People

            rodal Samuel Rødal
            vitaly@qubyx.com Vitaly Bondar
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes